Hello, I want to consume messages from an ActiveMQ queue using HTTP GET via a Jetty endpoint. This will deploy: <route> <from uri="jetty:http://0.0.0.0:8182/dequeue"/> <from uri="activemq:queue:cds-response"/> <log message="*** ${headers.JMSCorrelationID}"/> </route>
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 consumer? Thanks, Scott -- View this message in context: http://camel.465427.n5.nabble.com/Jetty-endpoint-as-ActiveMQ-consumer-tp5747278.html Sent from the Camel - Users mailing list archive at Nabble.com.