camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Autric <>
Subject Re: WMQ Reply-to queue
Date Fri, 02 Oct 2015 15:39:04 GMT

Have you ever try header message ?
you can include some information mapped from camel internal header to component protocol header

more information with :

exchange.getIn().setHeader("JMS_IBM_Report_COA", MQC.MQRO_COA_WITH_FULL_DATA); 
should work w/o pb

best regards,

Greg AUTRIC                        
JBoss Middleware Consultant

email   : gautric __at__ redhat __dot__ com
twitter : @gautric_io

Red Hat Global Services            
Red Hat France SARL                sit:
Le Linea, 1 rue du General Leclerc, 92047 Paris La Défense Cedex
Sent from webmail

----- Mail original -----
De: "Sashika" <>
Envoyé: Vendredi 2 Octobre 2015 06:25:51
Objet: WMQ Reply-to queue

I'm connecting to a Websphere MQ endpoint and I have successfully configured the
camel Jms component to connect to the queue manager and deliver messages to the
intended queue.
The route in question is a request-reply scenario and I want the wmq to reply to
a queue that I specify. This is configured in the Jms component as replyToType=Exclusive&replyTo=MY.QUEUE
All works fine except the reply does not reach camel and the route fails with a
timeout after waiting for a reply. After bit of research I found out that we
need to instruct wmq to generate the report and send to the reply queue. For
this we have to set something like below in the outgoing Jms message but not
sure how to set it in Camel
Can anyone suggest me how to achieve this in camel level?
Thanks in advance.

View raw message