Ok, apologies for this post; "vm" does support "in-out" and I simply had to explicitly set the pattern when creating the exchange, as follows:

Exchange exchange = camelContext.getEndpoint("direct:origin")
.createExchange(ExchangePattern.InOut); // not just createExchange() without param!



On 18/3/2010 7:42 μμ, Alexandros Karypidis wrote:
Hi,

I would like to perform a synchronous in/out exchange across different camel contexts.

I tried using "direct" components but those do not span contexts. The only component I've found that does that, is the "vm" component. Unfortunately, "vm" does one-way exchanges, so it's not suitable for what I need.

Any ideas how to go about doing this?

Thanks in advance for your help.

Reply via email to