activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Lewis <sle...@fusesource.com>
Subject Re: where to put java classes/jars for bean invocation via camel?
Date Mon, 04 Oct 2010 19:38:41 GMT
activemq's lib directory is the right place for it, make sure you
either put the class in a directory hierarchy that matches the class's
package name or build it into a Jar file.

On Mon, Oct 4, 2010 at 3:32 PM, Illtud Daniel <illtud.daniel@llgc.org.uk> wrote:
> I hope you don't mind me posting this to the activemq, rather than
> camel, but I'm using the camel that comes with activemq, so the
> answer I'm looking for is activemq-specific.
>
> Where should I be putting my (eg) HelloWorld.class so that I can
> invoke the code via a bean, declared in camel.xml:
>
>         <bean id="hello" class="HelloWorld"/>
>
> ?
>
> I realise this is probably an easy question, and the documentation
> (+ Manning books) is very good, but does presuppose that you
> understand something of Java, which is where I fall down. I've tried
> activemq/lib, but it doesn't find it there.
>
> Be kind...
>
> --
> Illtud Daniel                                 illtud.daniel@llgc.org.uk
> Prif Swyddog Technegol                          Chief Technical Officer
> Llyfrgell Genedlaethol Cymru                  National Library of Wales
>

Mime
View raw message