camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kev <>
Subject Using non-standard JMS correlation ID
Date Thu, 10 Jul 2014 09:51:20 GMT
Hi all

I'm trying to create a Camel route that will post a message to a legacy
system with a JMS interface, and wait for a reply on a specific JMS queue.
This seems to be a pretty standard use of the inout exchange pattern.
However, the legacy system does not use the standard JSMCorrelationID header
to associate outbound messages with their inbound requests. Instead, it uses
an entirely non-standard header. 

As I understand it, if I use

from (jms:something).inout(jms:something?replyTo=output_queue)

then Camel will use JMSCorrelationID to match the inbound and outbound
messages. However, is there any way that inout() can be configured to use
some other header?

If not, is there some other way to approach this problem using standard
Camel features?


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

View raw message