Hi, I'm trying to implement Asynchronous Request Response using ProducerTemplate and ConsumerTemplate.
Case: JMSCorrelationID attached to a message that is processed correctly by a service. As a result of a service process, new/response message with the same JMSCorrelationID sent to a different activeMQ queue. ConsumerTemplate that i use to create a client that supposed to read that message doesn't find that message. Idea behind this logic is to have 2 services, one is invoked by consumer that orchestrates process and sends different message to service that does the work. That second service returns a message to a queue that consumer is monitoring. The only way i could find that allows to specify correlation ID is to use selector on endpoint for Consumer. "activemq:queue:myqueue?selector=JMSCorrelationID=mycorrelationid But that doesn't work. Any ideas? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-10-running-in-JBoss6-0-Fuse-with-activeMQ-problem-getting-Message-using-JMSCorrelationID-tp5738615.html Sent from the Camel - Users mailing list archive at Nabble.com.