camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Setting the output exchangePattern in recipientList DSL
Date Wed, 23 May 2012 12:46:44 GMT
You can use the setExchangePattern before the recipient list to alter it.

But yeah maybe we should consider having to override it like you can do on <to>
Mind that this override is "local" only, and the MEP is not changed on
the original exchange, being routed afterwards.

On Wed, May 23, 2012 at 1:57 PM, Raul Kripalani <> wrote:
> Hi,
> Was just about to open a JIRA improvement ticket to add the capability to
> the recipientList DSL to override the exchange pattern. Following is the
> ticket body:
> Right now, the exchanges sent by the recipientList DSL absorb the exchange
>> pattern of the incoming exchange. We should add a capability to overwrite
>> the exchange pattern.
>> Consider for example a route with a InOut CXF consumer wanting to
>> broadcast a message to a number of AMQ queues dynamically computed from a
>> header. Right now, the exchanges will be sent with an InOut pattern and
>> there is no way to override this behaviour unless we use onPrepareRef.
> But just wanted to double-check just in case there's a way to achieve this
> (other than using onPrepareRef) that I'm unaware of?
> Thanks,
> *Raúl Kripalani*
> Principal Consultant | FuseSource Corp.
> | <>
> skype: raul.fuse | twitter: @raulvk <>,
> @fusenews<>
> <>

Claus Ibsen
CamelOne 2012 Conference, May 15-16, 2012:
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message