On Mon, Dec 21, 2009 at 3:31 PM, lekkie <lekkie.ay...@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