camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: JMS request/reply - Exclusive Mode -shared reply queue - with different request queues
Date Wed, 27 Nov 2013 10:09:39 GMT
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_

On Wed, Nov 27, 2013 at 10:51 AM, Petter Nordlander
<> wrote:
> Hi,
> Anyone had any luck with sharing a reply queue in exclusive mode between various request
> 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.
Twitter: davsclaus
Author of Camel in Action:

View raw message