I opened

https://issues.apache.org/jira/browse/CAMEL-5123

to keep the track of this issue. I'll have a look a bit later unless Willem already knows the answer :-).

Please also experiment with direct CXF jaxrs:endpoints in conjunction with the Camel transport

Cheers, Sergey

On 26/03/12 19:27, GPRSLyons wrote:
Gents-

Thanks much for the help so far.

I am trying to do some processing on my CXFRS route before it goes back to
the browser, but the body becomes null after I process.  I modified an
example to demonstrate my issue.

In
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/jaxrs/CxfRsSpringProducer.xml
, if I add a route to process the such as:

     <route>
        <from uri="cxfrs://bean://rsClientHttp"/>
        <process ref="emptyProcessor"/>
     </route>

   <bean id="emptyProcessor"
class="org.apache.camel.component.cxf.jaxrs.EmptyProcessor"/>

(EmptyProcessor is just an empty processor).  The response from the
testGetCostumerWithHttpCentralClientAPI() method of
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
comes back null (not to mention many other tests throw exceptions).

Can I not process cxfrs endpoints in this way?  What am I doing wrong?

-Shan

--
View this message in context: 
http://camel.465427.n5.nabble.com/CXFRS-and-Processing-tp5596053p5596053.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to