You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by davsclaus <ci...@yahoo.dk> on 2011/01/21 19:45:50 UTC

Re: declaring a TypeConverter à la spring

Camel will not automatic pickup your type converter if declaring it as a
spring bean.

You will have to add that manually to the CamelContext. There is API there
to do that.
-- 
View this message in context: http://camel.465427.n5.nabble.com/declaring-a-TypeConverter-a-la-spring-tp3351408p3352004.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: declaring a TypeConverter à la spring

Posted by davsclaus <ci...@yahoo.dk>.
Ah yeah type converters can be auto discovered in the same way as custom
components.

See
http://camel.apache.org/type-converter.html

Adding that file to META-INF in the JAR

Chapter 3 in the Camel book also shows how to do this.
-- 
View this message in context: http://camel.465427.n5.nabble.com/declaring-a-TypeConverter-a-la-spring-tp3351408p3356551.html
Sent from the Camel - Users mailing list archive at Nabble.com.