Hi Claus,

If I put the settings in the following way, then I'll be able to see the
replyTo header is 'queue://FirstQueue' in the responseQ.

<camel:route>
            <camel:from
uri="tcpActivemq:queue:requestQ?exchangePattern=InOut&amp;useMessageIDAsCorrelationID=true"
/>
            <camel:to uri="bean:mqInputProcessor"/>
            <camel:to uri="bean:JBPMProcessorBean"/>
            <camel:to uri="bean:mqOutputProcessor"/>
            <camel:to
uri="tcpActivemq:queue:responseQ?replyTo=queue:FirstQueue" />
</camel:route>

Thanks.

Regards,
William



cwilliamy2k wrote:
> 
> The following is the settings in my camel-context.xml. I have set the
> replyTo option to a queue named "Q3", but when I look into the message in
> Q2 at ActiveMQ admin console, the replyTo header is null.
> 
>         <camel:route>
>             <camel:from uri="AMQ:queue:Q1" />
>             <camel:to uri="bean:Dummy"/>
>             <camel:to uri="AMQ:queue:Q2?replyTo=queue:Q3"/>
>         </camel:route>
> 
> Pls help. Thanks.
> 

-- 
View this message in context: 
http://old.nabble.com/Unable-to-set-Camel-Route-JMSReplyTo-tp26208592p26260989.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to