From users-return-25589-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon Oct 04 19:39:30 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 90538 invoked from network); 4 Oct 2010 19:39:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 19:39:30 -0000 Received: (qmail 42539 invoked by uid 500); 4 Oct 2010 19:39:30 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 42484 invoked by uid 500); 4 Oct 2010 19:39:29 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 42476 invoked by uid 99); 4 Oct 2010 19:39:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 19:39:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of slewis@fusesource.com designates 209.85.215.171 as permitted sender) Received: from [209.85.215.171] (HELO mail-ey0-f171.google.com) (209.85.215.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 19:39:24 +0000 Received: by eyg7 with SMTP id 7so3409900eyg.2 for ; Mon, 04 Oct 2010 12:39:02 -0700 (PDT) Received: by 10.213.2.136 with SMTP id 8mr153672ebj.18.1286221142077; Mon, 04 Oct 2010 12:39:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.31.140 with HTTP; Mon, 4 Oct 2010 12:38:41 -0700 (PDT) In-Reply-To: <4CAA2BC3.5030808@llgc.org.uk> References: <4CAA2BC3.5030808@llgc.org.uk> From: Stan Lewis Date: Mon, 4 Oct 2010 15:38:41 -0400 Message-ID: Subject: Re: where to put java classes/jars for bean invocation via camel? To: users@activemq.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 w= rote: > 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: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 > > ? > > 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 illtud.daniel@llgc.org= .uk > Prif Swyddog Technegol =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Chief Technical Officer > Llyfrgell Genedlaethol Cymru =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0National Library of Wales >