camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Spring DSL Type Converters
Date Fri, 04 Jul 2014 07:33:33 GMT

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 <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message