camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: How to set MEP to InOut from Camel application
Date Mon, 21 Dec 2009 14:06:14 GMT
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.


Mime
View raw message