On Wed, Mar 6, 2013 at 11:10 PM, fbarbat <fbar...@gmail.com> wrote:
> In http://camel.apache.org/event-message.html it says that "The default
> behaviour of many Components is InOnly such as for JMS, File or SEDA". How
> can I know if a specific component is InOnly? For example, the "direct"
> component.
>

You can read what the MEP of the Exchange is, there is a
getExchangePattern method on the Exchange API.

The direct component does not change/set the MEP as its a bit special.
Its used for like with direct invocations, to call another route from
a route. Then the MEP is used as is.



> Thanks.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-know-if-a-component-is-InOnly-by-default-tp5728702.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to