Guys, 

I am using recipient list to dynamically generate a JMS producer endpoint. I
need this because I need to set the timeout dynamically. Also in a InOut
exchange pattern. 

<recipientList id="service-jms-facade">
                 
<simple>hybridJms:queue:Variable.Timeout.Queue?exchangePattern=InOut&amp;requestTimeout=${header.request.timeRemaining}</simple>
</recipientList>

This solution works fine, but on peak loads it keeps creating temp reply
queues. This adds more load to the broker. 

Is there a best way to do it ? I tried adding the exclusive replyTo endpoint
as well, which doesnt work. 

May be exclusive replyTo queue is not supported through recipient list ?

I understand that recipient-list is not really meant for this kind of stuff,
but only this component allows us to use <simple/> . If there are any other
ideas, let me know. 

The latest camel version supports specifying the timeout in the header, but
unfortunately we are still using Camel 2.12. 

Cheers
Guru
gnanaguru.com



--
View this message in context: 
http://camel.465427.n5.nabble.com/Recipient-list-JMS-endpoint-with-Exclusive-reply-queues-InOut-tp5769320.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to