You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/07/06 14:23:33 UTC

[jira] [Commented] (CAMEL-5301) Add exchangePattern option to recipientList

    [ https://issues.apache.org/jira/browse/CAMEL-5301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407943#comment-13407943 ] 

Claus Ibsen commented on CAMEL-5301:
------------------------------------

Similar for multicast etc. Its a bit tricky to add to the DSL without confusing/cluttering this.
As of today people can also set the MEP before the recipient list, and set it back again afterwards.
                
> Add exchangePattern option to recipientList
> -------------------------------------------
>
>                 Key: CAMEL-5301
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5301
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: Raul 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 onPrepareRef.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira