camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5301) Add exchangePattern option to recipientList
Date Tue, 11 Nov 2014 11:02:34 GMT


Claus Ibsen commented on CAMEL-5301:

We could in fact allow the MEP to be set as part of the uri options, then its no DSL change,
and therefore easier to manage.

So from a InOnly route you can do
And then the MEP is preserved as InOnly in the original route. But the AMQ does an InOut MEP

> Add exchangePattern option to recipientList
> -------------------------------------------
>                 Key: CAMEL-5301
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: Raúl Kripalani
>             Fix For: Future
> Right now, the exchanges sent by the recipientList DSL absorb the exchange pattern that
was set on the exchange before it entered the recipientList. 
> We should add a capability to explicitly overwrite the exchange pattern for those exchanges
sent by the recipientList.
> 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

This message was sent by Atlassian JIRA

View raw message