[ 
https://issues.apache.org/jira/browse/CAMEL-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-4121.
--------------------------------

    Resolution: Fixed

> Prefer to use SetExchangePattern over InOut / InOnly to permanently alter the 
> MEP 
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4121
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4121
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> There is a difference between using {{inOnly}} and 
> {{inOnly("activemq:foo")}}. The former will permanently change the MEP on the 
> Exchange, where as the latter will only change the MEP for sending the 
> exchange to the endpoint. We should highlight this fact. And prefer to use 
> SetExchangePattern to permanently the MEP. So we should @deprecate .inOnly() 
> and .inOut() (eg the methods that doesnt send to an endpoint)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to