You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/20 12:50:48 UTC

[jira] [Resolved] (CAMEL-4121) Prefer to use SetExchangePattern over InOut / InOnly to permanently alter the MEP

     [ 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