Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 23687 invoked from network); 4 Oct 2007 11:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 11:34:05 -0000 Received: (qmail 15648 invoked by uid 500); 4 Oct 2007 11:33:54 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 15626 invoked by uid 500); 4 Oct 2007 11:33:54 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 15617 invoked by uid 99); 4 Oct 2007 11:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 04:33:54 -0700 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 james.strachan@gmail.com designates 64.233.162.226 as permitted sender) Received: from [64.233.162.226] (HELO nz-out-0506.google.com) (64.233.162.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 11:33:55 +0000 Received: by nz-out-0506.google.com with SMTP id z3so110340nzf for ; Thu, 04 Oct 2007 04:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=iWjUnF44GuxdG6Uz2iTCbfPm7Qo7kAJz8QKmhNwS2lU=; b=IkgASwYL/JAkbXEcxAGUr70gEcpMVE1RAwE1o9izFzieZZg/35Pw7hGvvjB+ZNVfosnC8eF6GtJIBKWAxiLkIMP0z4Vf4+s+fJkYA2WXQR8aZaB8Gq2uA6DxzofdIEQFf0DLrmCLAe1dWxj9FOl7g76kOBpV8XxU79aq2q3ZO+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LVqXysHDzGi3n9FIFbfnIqjcdfENAbuOn15NYykGfhEvtaTlWN/sCLG13rFzXMLCS703ttndUqxcCZKgo3kFQRV0gQDQQJg9U+ttrOJwSEB7xw/iHRQIjXAI05QZ42EMGqoJsZkzmDVquaII0NxCZwbbqbD1ZVjPPTO5KYC2Vts= Received: by 10.65.100.14 with SMTP id c14mr12227569qbm.1191497613824; Thu, 04 Oct 2007 04:33:33 -0700 (PDT) Received: by 10.90.105.13 with HTTP; Thu, 4 Oct 2007 04:33:33 -0700 (PDT) Message-ID: Date: Thu, 4 Oct 2007 12:33:33 +0100 From: "James Strachan" To: camel-user@activemq.apache.org Subject: Re: how to do that in camel xml ? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13021883.post@talk.nabble.com> <13036872.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 04/10/2007, Guillaume Nodet wrote: > You need to use a reference to a spring bean. > Something like > > > > > .. > BTW I just added a JUnit test case showing how to invoke a processor via XML https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/transform.xml You can as well use the tag as well to invoke any Java Bean and then use the bean integration to invoke a method etc. http://activemq.apache.org/camel/bean-integration.html -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com