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

camel-undertow consumer shall use InOut ExchangePattern

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.19.1
    • Fix Version/s: 2.20.0
    • Component/s: camel-undertow
    • Labels:
      None

      Description

      Camel-undertow is the odd one among camel-jetty, camel-restlet and netty4-http. It's consumer does not use InOut ExchangePattern and hence Request Reply EIP is not possible on asynchronous endpoints.

      For example, below consumer returns "No response available" instead of "Camel rocks!!"

      from("undertow:http://localhost:8081/api").to("seda:foo");
      
      from("seda:foo").process(exchange -> {
      	exchange.getIn().setBody("Camel rocks!!");
      });
      

      So it also becomes impossible to change to undertow from netty4-http,restlet or camel-jetty while using Rest DSL

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zregvart Zoran Regvart
                Reporter:
                saravanakumar Saravanakumar Selvaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: