Claus and Tim, thanks a lot. Its working now.
I had placed a full name of the class together with the package (just like log4j) before, so it didn't work..

Remi


On 11/24/2010 06:14 AM, Claus Ibsen wrote:
Hi

See for example camel-mina which has custom type converters as well:
https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/main/resources/META-INF/services/org/apache/camel/TypeConverter

And camel-core have 3 packages listed
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main/resources/META-INF/services/org/apache/camel/TypeConverter



On 11/23/2010 06:12 PM, Tim wrote:
1. I think you mean META-INF
2. Also you don't have to include "org.apache.activemq.camel.converter"
3. You should have uk.org.llgc.camel in the TypeConverter file as that
is your package not your class.

If you jar tvf your compiled jar (type_converter.jar in your case) you
should see something like:

     39 Mon Nov 22 18:30:58 CST 2010
META-INF/services/org/apache/camel/TypeConverter

Lastly turn on debug logging and you will see messages that camel
found your Converter

Reply via email to