You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by lekkie <le...@gmail.com> on 2009/12/21 11:43:37 UTC
How to set MEP to InOut from Camel application
Hello guys,
I'd like to set the MEP for a particular message leaving a camel router to
another camel router as InOut.
How can I achieve that.
I understand the default MEP assigned is the one for the source component.
I'd like to hardcode a preferred MEP just before sending the message to the
NMR.
How do I achieve this?
kr.
--
View this message in context: http://old.nabble.com/How-to-set-MEP-to-InOut-from-Camel-application-tp26872278p26872278.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to set MEP to InOut from Camel application
Posted by lekkie <le...@gmail.com>.
Thnx.
Claus Ibsen-2 wrote:
>
> On Mon, Dec 21, 2009 at 3:31 PM, lekkie <le...@gmail.com> wrote:
>>
>> How can I achieve same using spring based xml?
>>
>> My config looks like
>>
>> <from uri="jms:queue:RequestQueue?jmsMessageType=Text" />
>>
>> I know setting replyto parameter for the jms sets MEP to inOut but I'd
>> rather not use it.
>>
>
> A tip is to use the search box on the camel front page and enter:
> InOut and check some of the hits
>
> This page has about setting MEP
> http://camel.apache.org/request-reply.html
>
>
>> thnx.
>>
>>
>> willem.jiang wrote:
>>>
>>> Hi,
>>>
>>> Camel has some DSLs to help you to set the MEP.
>>> You can do things like this
>>> from("URI_A").inOut().to("URI_B").inOnly().to("URI_C");
>>>
>>> Willem
>>>
>>> lekkie wrote:
>>>> Hello guys,
>>>>
>>>> I'd like to set the MEP for a particular message leaving a camel router
>>>> to
>>>> another camel router as InOut.
>>>>
>>>> How can I achieve that.
>>>>
>>>> I understand the default MEP assigned is the one for the source
>>>> component.
>>>>
>>>> I'd like to hardcode a preferred MEP just before sending the message to
>>>> the
>>>> NMR.
>>>>
>>>> How do I achieve this?
>>>>
>>>> kr.
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/How-to-set-MEP-to-InOut-from-Camel-application-tp26872278p26874731.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>
>
--
View this message in context: http://old.nabble.com/How-to-set-MEP-to-InOut-from-Camel-application-tp26872278p26876302.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to set MEP to InOut from Camel application
Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Dec 21, 2009 at 3:31 PM, lekkie <le...@gmail.com> wrote:
>
> How can I achieve same using spring based xml?
>
> My config looks like
>
> <from uri="jms:queue:RequestQueue?jmsMessageType=Text" />
>
> I know setting replyto parameter for the jms sets MEP to inOut but I'd
> rather not use it.
>
A tip is to use the search box on the camel front page and enter:
InOut and check some of the hits
This page has about setting MEP
http://camel.apache.org/request-reply.html
> thnx.
>
>
> willem.jiang wrote:
>>
>> Hi,
>>
>> Camel has some DSLs to help you to set the MEP.
>> You can do things like this
>> from("URI_A").inOut().to("URI_B").inOnly().to("URI_C");
>>
>> Willem
>>
>> lekkie wrote:
>>> Hello guys,
>>>
>>> I'd like to set the MEP for a particular message leaving a camel router
>>> to
>>> another camel router as InOut.
>>>
>>> How can I achieve that.
>>>
>>> I understand the default MEP assigned is the one for the source
>>> component.
>>>
>>> I'd like to hardcode a preferred MEP just before sending the message to
>>> the
>>> NMR.
>>>
>>> How do I achieve this?
>>>
>>> kr.
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/How-to-set-MEP-to-InOut-from-Camel-application-tp26872278p26874731.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: How to set MEP to InOut from Camel application
Posted by lekkie <le...@gmail.com>.
How can I achieve same using spring based xml?
My config looks like
<from uri="jms:queue:RequestQueue?jmsMessageType=Text" />
I know setting replyto parameter for the jms sets MEP to inOut but I'd
rather not use it.
thnx.
willem.jiang wrote:
>
> Hi,
>
> Camel has some DSLs to help you to set the MEP.
> You can do things like this
> from("URI_A").inOut().to("URI_B").inOnly().to("URI_C");
>
> Willem
>
> lekkie wrote:
>> Hello guys,
>>
>> I'd like to set the MEP for a particular message leaving a camel router
>> to
>> another camel router as InOut.
>>
>> How can I achieve that.
>>
>> I understand the default MEP assigned is the one for the source
>> component.
>>
>> I'd like to hardcode a preferred MEP just before sending the message to
>> the
>> NMR.
>>
>> How do I achieve this?
>>
>> kr.
>
>
>
--
View this message in context: http://old.nabble.com/How-to-set-MEP-to-InOut-from-Camel-application-tp26872278p26874731.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to set MEP to InOut from Camel application
Posted by Willem Jiang <wi...@gmail.com>.
Hi,
Camel has some DSLs to help you to set the MEP.
You can do things like this
from("URI_A").inOut().to("URI_B").inOnly().to("URI_C");
Willem
lekkie wrote:
> Hello guys,
>
> I'd like to set the MEP for a particular message leaving a camel router to
> another camel router as InOut.
>
> How can I achieve that.
>
> I understand the default MEP assigned is the one for the source component.
>
> I'd like to hardcode a preferred MEP just before sending the message to the
> NMR.
>
> How do I achieve this?
>
> kr.