On Wed, Sep 15, 2010 at 5:15 PM, Olivier.Roger <olivier.ro...@bsb.com> wrote:
>
> Hello Camel!
>
> I am using Camel 2.4.
> I made a custom split strategy with a bean.
>
> In that strategy I need to perform some type convertion. Therefore I already
> have @Converter registered.
> Is it possible to obtain a reference to the TypeConverter Object inside the
> split method ?

See chapter 4 in the Camel book, section 4.5.2.

You can get reference to TypeConverter API so you can do any kind of
type conversion you like.

You can also get the TypeConverter API from CamelContext

>
> If not, how could I proceed to be able to use the converter inside the split
> strategy ?
>
> Thanks!
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/TypConverter-How-to-retrive-TypeConvert-in-a-custom-split-method-tp2840819p2840819.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to