camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottdawson <>
Subject Jetty endpoint as ActiveMQ consumer
Date Thu, 13 Feb 2014 21:56:36 GMT
I want to consume messages from an ActiveMQ queue using HTTP GET via a Jetty
endpoint. This will deploy:
          <from uri="jetty:"/>
          <from uri="activemq:queue:cds-response"/>
          <log message="*** ${headers.JMSCorrelationID}"/>

but the second "from" doesn't wait on the first "from", in other words,
messages are consumed from the queue as soon as they arrive, not when the
Jetty endpoint is called. (If I leave out the log line, I get an error
because "Route has no outputs".)

So, my basic question is... how do I invoke a consumer from another


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message