Camel
  1. Camel
  2. CAMEL-3788

HTTP Producer seems to send an empty body request on redelivery when the original request fails due to a connection timeout

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M2, 2.6.0
    • Fix Version/s: 2.7.3, 2.8.0
    • Component/s: camel-http
    • Labels:
      None

      Description

      Camel HTTP Producer is throwing an exception when it encounters a connection timeout. However instead of preserving the original message it is treating it processing the exception output. When connected to a redelivery meachanism, this results in an exception message being sent as input to the HTTP Consumer. The older versions of Camel behaved differently on read timeout. In Camel 1.x, in a read timeout, the Exception is thrown and the input message to the producer is passed through the pipeline. Now there is a difference: An exception is thrown and the output of the HTTP Producer is passed through the pipeline.

      Need to study why and what changed since Camel 1.x and ensure that the above does not happen.

      For more details, please check out the following nabble entry

      http://camel.465427.n5.nabble.com/Http-route-returning-with-200-but-also-getting-read-timed-out-td3741631.html#a3897410

      Cheers,

      Ashwin...

        Activity

        Ashwin Karpe created issue -
        Hide
        Willem Jiang added a comment -

        Committed the patch into camel-http and camel-http4.

        Show
        Willem Jiang added a comment - Committed the patch into camel-http and camel-http4.
        Willem Jiang made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Willem Jiang [ njiang ]
        Fix Version/s 2.8.0 [ 12316226 ]
        Resolution Fixed [ 1 ]
        Daniel Kulp made changes -
        Fix Version/s 2.7.3 [ 12316520 ]
        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Willem Jiang
            Reporter:
            Ashwin Karpe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development