camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GPRSLyons <GPRSLy...@gmail.com>
Subject Re: CXFRS and Processing
Date Wed, 28 Mar 2012 22:34:47 GMT

Sergey Beryozkin-3 wrote
> 
> 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...
> 

I gave it a shot with 
<jaxrs:server id="restService" 
  		 address="direct://bookStore" 
         staticSubresourceResolution="true"> 
    <jaxrs:serviceBeans>
      <ref bean="customerService"/>
    </jaxrs:serviceBeans>       
  </jaxrs:server>
and got similar results.  The first two tests throw the same error, and the
other tests return null responses.  Is this helpful?  

I am unsure of the address="camel://direct:bookStore" syntax, but it
consistently threw BeanCreationExceptions, so I changed to the direct syntax
I have used previously "direct://bookStore" and tested with that.

Because I am new to Camel, I am concerned that the problem is with my route
implementation, instead of it being a bug ><

-Shan

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

Mime
View raw message