camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Shakirin <>
Subject RE: Camel uses old context to resolve endpoint by routing
Date Fri, 23 Sep 2011 11:15:18 GMT
Hi Ioannis,

Hmm ... I do not think so.
If camel-core.jar loaded in the same classloader ( it works.
And it is exactly the case if both bundles uses the same version of camel-core bundle.
Basically communication works, I have my RoutingSlip called with correct exchange.
The confusing point is why endpoint returned by RoutingSlip is trying to resolve using old
Camel Context (from the first bundle).
If the same endpoint is defined statically in camel route spring configuration - it resolved
using actual Camel Context  (from the second bundle).
For me is unexpected behaviour.


-----Original Message-----
From: Ioannis Canellos [] 
Sent: 23 September 2011 12:28
Subject: Re: Camel uses old context to resolve endpoint by routing

I think that the vm can only be used to bridge contexts that are in the same bundle.
*Ioannis Canellos*
FuseSource <>

Apache Karaf <> Committer & PMC Apache ServiceMix <>
 Committer Apache Gora <> Committer

View raw message