Hi,

A few remarks regrading to your code :

1) JNDI is not supported as such on OSGI platform. You can enable this
feature using apache Aries project - jndi but it will not work with Camel.
Nevertheless, if you use one of the camel registry provided out of the box
and not specificallly jndi, you can create your camelContext and camel will
setup the registry according to the container where it is deployed

2) Create camelContext. I suggest that you instantiate your camelContext
using a Spring XML file with <camelContext>. In this case, your camel
project is portable between ServiceMix or java standalone using camel:run

Regards,

Charles--
View this message in context: 
http://camel.465427.n5.nabble.com/Inside-Out-of-OSGI-tp4347446p4358473.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to