Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 23391 invoked from network); 21 Jan 2008 03:20:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2008 03:20:15 -0000 Received: (qmail 52442 invoked by uid 500); 21 Jan 2008 03:20:05 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 52426 invoked by uid 500); 21 Jan 2008 03:20:05 -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 52417 invoked by uid 99); 21 Jan 2008 03:20:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2008 19:20:05 -0800 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.132.251 as permitted sender) Received: from [209.85.132.251] (HELO an-out-0708.google.com) (209.85.132.251) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 03:19:39 +0000 Received: by an-out-0708.google.com with SMTP id b8so413947ana.65 for ; Sun, 20 Jan 2008 19:19:44 -0800 (PST) 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=6Ecjre2VwVUd/0xnsByeqaclvzj5ElHlwarkoydtpro=; b=iKeFZnMSEm1Tm8KTXt3o6iEnBb3bmoxwhDpETMQPjsBKxJOLgdvAzV7e16Mq/7kbeBuh8eB5SM+A2ijt5CwadIsCDCNFfdsjVtIpIhlrgVoJRl+BvaHUf0xk/71X531s6UPCbO0TsLfT3nydLA/IglAqdwItkWbGoNbg50aI/ZE= 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=ZTXncIP76rTTj52lj9oWNAZFiHrimLmB5X3115nucYcdQ/MmONCQFhIjg7yvreT1Yrnb/TAp2DOoT8OFSg9N+qZ69ICFd1t+wVgFS/L3nznFLCFIglF/4TQejVmUri61BpJyr+U5jJNT5jD2g1t4b5b5yTtL0AnlRIHI2euE9FY= Received: by 10.100.123.4 with SMTP id v4mr13588706anc.99.1200885584544; Sun, 20 Jan 2008 19:19:44 -0800 (PST) Received: from ?10.129.9.187? ( [124.17.14.193]) by mx.google.com with ESMTPS id a68sm1328865rnc.14.2008.01.20.19.19.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 20 Jan 2008 19:19:42 -0800 (PST) Message-ID: <47940F38.7030205@gmail.com> Date: Mon, 21 Jan 2008 11:19:20 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: camel-user@activemq.apache.org Subject: Re: Camel & Sending CXF generated objects References: <14989933.post@talk.nabble.com> <4793FEE1.2060203@gmail.com> <14990116.post@talk.nabble.com> In-Reply-To: <14990116.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, Yes, it looks like you do not use the camel-cxf component. I think you start with the CamelJmsToFile example which start an in JVM jms transport. If you want to send the messages to this jms endpoint, you need to use the template to send them. Willem. sub3 wrote: > Hi, > Thanks for the quick reply. I am using 1.2.0. > > I have simplified things greatly & I am still getting null. > So on one end, I am sending to through JMS, on the other: > context.addRoutes(new RouteBuilder() { > public void configure() { > // set up a listener on the file component > from("test-jms:queue:PA").process(new Processor() { > > public void process(Exchange e) { > Object obj = e.getIn().getBody(); > System.out.println("OBJ IS: "+obj); > } > }); > } > }); > > I don't believe I am using the 'camel-cxf' component. I am just using some > cxf generated objects (no need to hit an endpoint yet, that would be several > steps later). So it might be ActiveMQ making it null, but I don't know. I > guess I need a little direction so I can determine where it is being > dropped. > > Thanks in advance. > > > > willem.jiang wrote: > >> Hi , >> >> Which version of Camel that you use ? >> Can you show me your router configuration code ? >> We just fixed some bugs of the camel-cxf component , The recent fix is >> CAMEL-286[1] >> >> [1] https://issues.apache.org/activemq/browse/CAMEL-286 >> >> Willem. >> >> sub3 wrote: >> >>> Hi, >>> I am just starting to learn camel. I seem to be routing/sending simple >>> objects fine. As soon as I start to use objects generated by cxf's >>> wsdl2java, they come across as null. >>> >>> What is it about these objects that cause this, and is there a way to >>> stop >>> it? I can only assume it has something to do with the way it gets >>> serialized. >>> >>> Thanks for any help. >>> >>> >> >> > >