On Tue, Nov 23, 2010 at 4:49 PM, Remi Malessa <r...@llgc.org.uk> wrote: > Hi again. > > On 11/23/2010 01:50 PM, davsclaus wrote: >> >> Remember to add that TypeConverter file in the JAR. It tells Camel to >> automatic pickup and us your @Converter as type converters. > > I have my Camel inside an Activemq server and I can't find > /META-INF/services/org/apache/camel/TypeConverter /anywhere > I had added my class as a jar into the activemg_home/lib dir , but that > didn't work. > > Any chance you know how to register a type converter with such set-up ? >
You put that file inside your own JAR. And in that file you add a text line which is a package name for the package where your @Converter class is. > > Cheers > Remi > / > / > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/