Java class as an endpoint

2010-10-19 Thread Remi Malessa
Hi , I'm new to Camel. I'm familiar with ActiveMQ and I would like to move my JMS Client entirely to a Camel server. (I'm not familiar with Spring though) I think I should use the bean component, but I don't know where should I place my Java class or source code. I wonder if you could point m

Re: Java class as an endpoint

2010-10-20 Thread Willem Jiang
Hi, You can take a look at this doc[1], and put the class into the class path to let camel context load it. [1]http://camel.apache.org/class.html On 10/19/10 11:29 PM, Remi Malessa wrote: Hi , I'm new to Camel. I'm familiar with ActiveMQ and I would like to move my JMS Client entirely to a C

Re: Java class as an endpoint

2010-10-20 Thread Remi Malessa
That looks good. And I think activemq's lib directory is the right place for my classes , uploaded as a jar? Will give it try. Thanks! Remi On 10/20/2010 08:53 AM, Willem Jiang wrote: Hi, You can take a look at this doc[1], and put the class into the class path to let camel context load i