Thanks for the response!  Unfortunately, I am new with Camel and do not
understand what you mean when you say "Please also experiment with /direct
CXF jaxrs:endpoints/ in conjunction with the Camel transport".  I would like
to provide as much help / additional information as possible...

By /direct CXF jaxrs:endpoints/ do you mean the 
<jaxrs:server id="restService"
                       
address="http://localhost:${CXFTestSupport.port1}/CxfRsProducerTest/"; 
                        staticSubresourceResolution="true">
    <jaxrs:serviceBeans>
      <ref bean="customerService"/>
    </jaxrs:serviceBeans>       
  </jaxrs:server>

OR

<endpoint id="fromEndpoint"
uri="jetty://http://localhost:${CxfRsProducerTest.jetty}/CxfRsProducerTest/testQuery"/>

endpoints in
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/jaxrs/CxfRsSpringProducer.xml
?

Do the adjacent tests in
https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
test what you are referring to? 

I have noticed that /order does matter/ when I run these tests - the first
two will throw java.lang.IllegalArgumentException: The configure bean is not
the instance of org.apache.cxf.jaxrs.JAXRSServerFactoryBean.  

Also, it is not just an issue with processing as I previously thought. 
Changing the header results in the same issue.  Ex:

<setHeader headerName="CamelCxfRsUsingHttpAPI">
         <constant>True</constant>        
       </setHeader>

-Shan

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

Reply via email to