I have picked the code from OsgiCamelContextHelper to set the osgi parts, but
this helper do not apply for TypeConverter.

Here is the code for OsgiDefaultCamelContext :


It override the createTypeConverter() and addService is done while using a
getter from DefaultCamelContext (see my first post).

It is not a bug, I could go by creating a CamelContext which is GuiceOsgi. 
It's just that it would be cleaner to have a safe way to set the existing
parts instead of redefining the camelContext, but it will do the job.

Please let me know if it worth a change in DefaultCamelContext.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Bug-in-DefaultCamelContext-with-TypeConverter-tp5731480p5731546.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to