Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 74693 invoked from network); 21 Aug 2008 09:08:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2008 09:08:35 -0000 Received: (qmail 53574 invoked by uid 500); 21 Aug 2008 09:08:34 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 53556 invoked by uid 500); 21 Aug 2008 09:08:34 -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 53545 invoked by uid 99); 21 Aug 2008 09:08:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 02:08:34 -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 willem.jiang@gmail.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 09:07:36 +0000 Received: by wa-out-1112.google.com with SMTP id k17so202695waf.0 for ; Thu, 21 Aug 2008 02:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=loht905bFgaNrQSim7X8jYk/OwT5tndpDA0uiwApPEM=; b=ixm7E0zxcbn8ZARmuOx6jZ67R1PpWfAXVw4zmFY8yBGDRZhlthCk/xBZPH8JZiLPfr sKxI1Db3zaDeu88Z2/P1VcM0xN9O1zdZIvlTiIoOls7CYr+5aI+/jbs5TdCcmWDZjgCH bx0v6/v0StIfHhS2aUU5dn3T9RbaPWe1+QfEc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=gCJHM7FZGWa+WlbaxxA4tWQcbwyroSV4Te/bj57v/wb9rLR1+F0jiUdL/0X/iHnfNW n8L+4jT34IzIs6aPndsUOYSmrxJaXSxrOImqk9bjHyb+4ngrfLQ1C69L2He8vaMMgMYj KHBJAJasx/ebQpwm5USWeyZX+mLnQn259HdWY= Received: by 10.114.46.6 with SMTP id t6mr1145877wat.39.1219309685672; Thu, 21 Aug 2008 02:08:05 -0700 (PDT) Received: from ?192.168.0.118? ( [222.131.247.93]) by mx.google.com with ESMTPS id q20sm5243566pog.7.2008.08.21.02.08.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 Aug 2008 02:08:04 -0700 (PDT) Message-ID: <48AD3059.7030200@gmail.com> Date: Thu, 21 Aug 2008 17:07:37 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: camel-user@activemq.apache.org Subject: Re: camel-cxf async processor w/in-out mep using jms transport References: <19065612.post@talk.nabble.com> In-Reply-To: <19065612.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Ron, I went through the unit test in SM-1413, it only shows how to invoke the service with ServiceMix client API. Since camel-cxf component only interact with SMX by servicemix-camel component, camel-cxf can't see any ServiceMix client invoke. If you want to invoke the external web service by using jms transport in camel-cxf , you just need to set the transport factory to jms. There is a unit test[1] in camel to show how to use camel transport in CXF , please check it out . [1] https://svn.apache.org/repos/asf/activemq/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/customerrelations The configuration files [2] https://svn.apache.org/repos/asf/activemq/camel/trunk/tests/camel-itest/src/test/resources/spring-config Willem rgavlin wrote: > I currently use a servicemix-cxf-bc "provider" to asynchronously send an > in-out mep to an external web service using the jms transport. See > https://issues.apache.org/activemq/browse/SM-1413 for a test that > demonstrates this capability. > > I would also like to use the camel-cxf component in a similar fashion. Does > camel-cxf provide an asynchronous processor to send an in-out mep to an > external web service using the jms transport? If so, how is this configured? > > Thanks, > > - Ron >