On Wed, Feb 22, 2012 at 10:03 AM, Babel <chpa...@gmail.com> wrote:
> Hello everyone,
>
> I'm still working on my component and would like to be sure on that point,
> about the exchange pattern which is part of the exchange and the endpoint:
>
> the exchange pattern contained in the exchange is use on the whole route?
> on that route, one endpoint may have a different pattern (for example, it
> won't answer even if the exchange's pattern is InOut)?
>

The MEP is part of the Exchange and can be changed during routing.
http://camel.apache.org/request-reply.html

The MEP is a flag which tells the producer/processor whether its
InOnly or InOut.
Its not strictly enforced so if the MEP is InOnly, then a processor
can still change the message etc.
Its just a information/hint.



> Thus, may I assume the exchange pattern contained in the endpoint takes
> precedence over the one in the exchange?
>
> Many thanks for confirmation or not
>
> Best regards
>
> Christophe
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/exchange-pattern-in-exchange-and-in-endpoint-tp5504578p5504578.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to