Use the same endpoint, but set a header to override the destination to send to

See section _Reuse endpoint and send to different destinations
computed at runtime_
http://camel.apache.org/jms

On Wed, Nov 27, 2013 at 10:51 AM, Petter Nordlander
<[email protected]> wrote:
> Hi,
>
> Anyone had any luck with sharing a reply queue in exclusive mode between 
> various request queues?
>
> ie.  by creating dynamic URI:s with
> "jms:queue:<runtime_lookup_queue_name>?replyTo=REPLY.QUEUE&replyToType=Exclusive"
> The URIs are invoked in a single route in a single camel context, but 
> different requests are routed to different request queues.
>
> From what I can tell, Camel creates new consumers on REPLY.QUEUE for each 
> request queue, but only one is actually working (the first created).
>
> Someone that has worked with this kind of setups, is there any way to share 
> the reply queue without going for "replyToType=Shared" which is slow.
>
> Best regards
> Petter
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to