camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hadrian Zbarcea <hzbar...@gmail.com>
Subject Re: How to know if a component is InOnly by default
Date Thu, 07 Mar 2013 15:25:16 GMT
The route MEP is ignored by almost all the components and almost 
useless. So you can get it from the exchange, but it won't help you much.

You need to read the doc for the components you're using and understand 
what they do given the uri configuration you used.

My $0.02,
Hadrian


On 03/07/2013 01:29 AM, Claus Ibsen wrote:
> On Wed, Mar 6, 2013 at 11:10 PM, fbarbat <fbarbat@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.
>
>
>

Mime
View raw message