Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel 2.10 running in JBoss6.0(Fuse) with activeMQ. problem getting Message using JMSCorrelationID

$
0
0
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?

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images