Willem: I modified my code to create the camel context using the CamelContextFactory and now the type converters are read in as expected. Are there any helpful hints or other things to watch out for when using Camel in an OSGi container? Thanks for your help,
David Hi, How did you create the camel context? Using the spring config, or creating the DefaultCamelContext yourself. If you create the DefaultCamelContext by yourself, you need to create a OSGi version of CamelContext by using the org.apache.camel.osgi.CamelContextFactory to create the CamelContext. Before calling the createContext() method, you need to make sure you set the right bundleContext into the instance of the CamelContextFactory. Willem -- View this message in context: http://old.nabble.com/problem-with-simple-message-to-file-example-under-osgi-tp27013928p27026937.html Sent from the Camel - Users mailing list archive at Nabble.com.
