camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Trenaman <>
Subject Re: Visibility between camel contexts
Date Tue, 27 Jul 2010 06:00:49 GMT
In general, Camel contexts should be considered as isolated from each other (this is by design!).
To communicate between Camel contexts, consider using the VM or JMS transports. 

Right now, what you're trying to do by separating the endpoints from the routes won't work
- as you have found out! Is there a reason why you're separating the two?


----- Original Message -----
From: Thiago Souza <>
To: <>
Sent: Mon Jul 26 23:58:05 2010
Subject: Visibility between camel contexts


      In a standalone spring application context the following is perfectly

  	<c:camelContext id="endpoints">
		<c:endpoint id="source" uri="file://source" />
		<c:endpoint id="target" uri="file://target" />
  	<c:camelContext id="routes">
			<c:from ref="source" />
			<c:to ref="target" />

       That is, the configured camelContexts can see each other. Is it
possible to achieve this in Karaf?  (i.e. "endpoints" goes in a xml and
"routes" goes in another one)

        I've tried with no success, the xml containing "routes" can not see
the endpoints defined in "endpoints" (in another xml)

Thiago Souza

View this message in context:
Sent from the Camel - Users mailing list archive at
View raw message