Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2238

JettyHttpProducer - Sending sync using waitForDone should cater for connection failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • camel-jetty
    • None

    Description

      Even though we follow the Jetty documentation it will make the jetty http producer appear as blocked as waitForDone() will block when connection failure occurred.

      We need to add logic which polls the status instead and thus can detect the problem.

      The async producer done not have this issue by which is likely the main use case for using Jetty as a client

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: