camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Spring DSL Type Converters
Date Mon, 07 Jul 2014 01:00:06 GMT
In most case we just grab the type converter from the camel context otherwise we need to know
the converter class name. For you case if you register to converter to camel context even
after the routes are initialised, the converter can still work.

Willem Jiang

Red Hat, Inc.
Blog: (English) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem

On July 7, 2014 at 2:37:48 AM, sushil_vsk5 ( wrote:
> Hi:
> Thanks a lot for that.
> I was just wondering whether this solution would work in a fool-proof
> manner, concern being, I understand that the Camel Context cab be injected
> into a custom bean and then the type converters can be registered but
> wouldn't the routes still be initialized even before this custom bean
> initializes (assuming routes get initialized along with the Camel Context).
> In that case, I believe my original problem would still remain as I wont be
> able to guarantee that my custom bean initializes before the routes.
> Comments?
> Regards,
> Sushil
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message