Hi Not currently. I think there is a JIRA ticket, to allow ppl to define <bean> for type converters.
You can write a java bean that gets CamelContext injected, and then you can use that to add the type converters manually. On Thu, Jul 3, 2014 at 7:58 PM, sushil_vsk5 <sushil_v...@yahoo.co.in> wrote: > Hello: > > I want to specify my type converters as Spring beans and refer to them > inside the application context file, something similar to what we can do for > Components rather than allowing Camel to auto-discover them. Is this > possible? > > I need to do this as sometimes I am hitting a loading issue when running in > a JBoss 7 container (it does parallel loading of components) where a route > is loaded from Spring while the default type converters are still not > discovered. This ends up in the route failing to start up (no type converter > found from java.lang.String to java.lang.Integer, etc.) > > However, this is intermittent and most of the time all start up fine and the > routes get initialized properly > > Regards, > Sushil > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Spring-DSL-Type-Converters-tp5753300.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/