Hi
On 27/03/12 23:35, GPRSLyons wrote:
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
?


I was implying something like

<jaxrs:server id="restService"
                
 address="camel://direct:bookStore"
                        staticSubresourceResolution="true">
and then refer to the endpoint with "direct:bookStore".

Give it a try please...

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>

CXFRS component does need some more attention. Willen has been helping a lot with maintaining it but I'm also hoping to focus on it in the near future. The code base of the component is not big so the contributions will be welcome

Thanks, Sergey

-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.


--
Sergey Beryozkin

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

Blog: http://sberyozkin.blogspot.com

Reply via email to