camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meise, Christoph" <>
Subject AW: Synchronous MEP across camel contexts
Date Fri, 19 Mar 2010 08:22:28 GMT
Interestingly the Direct component is able to span across context. Imagine you have two spring
files with each containing route definitions. All external interface endpoints ("from:" and
the final "to:") are declared in a third spring file (outside of any camel context). Addinitionally
the third spring file <includes> the route definitions. The two route definitions are
connected via "direct:" endpoints and it works. Is that a bug or a feature?


-----Ursprüngliche Nachricht-----
Von: Stephen Gargan [] 
Gesendet: Donnerstag, 18. März 2010 18:58
Betreff: Re: Synchronous MEP across camel contexts

Cheap and cheerful, you could use JMS, ActiveMQ is very easy to embed
for this purpose (like a basic NMR). It will give you cross context
blocking you are looking for and also make it easy to separate the
contexts across the network if you have to.


On Thu, Mar 18, 2010 at 10:42 AM, 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.

View raw message