Hi

You can just do
    <from uri="cxfrs:bean:rsServerSecure" />


On Fri, Aug 15, 2014 at 9:52 AM, nono <[email protected]> wrote:
>     Hey All,
>
> I have below jaxrs:server define like below. how to put it as endpoint into
> route?
> below is the code example, but it doest not work for me
>
> <jaxrs:server  id="rsServerSecure" address="https://0.0.0.0:9089/rest";>
>         <jaxrs:serviceBeans>
>             <ref component-id="rest"/>
>         </jaxrs:serviceBeans>
>     </jaxrs:server>
>     <bean id="rest" class="com.rest.RESTResource"/>
>     <bean id="restprocessor" class="com.rest.camel.RESTResourceProcessor"/>
>
>  <route id="restroute" streamCache="true" >
>             <from uri="jaxrs:server:rsServerSecure" />
>             <to uri="bean:restprocessor" />
>         </route>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/how-to-put-jaxrs-server-as-endpoint-in-route-from-tp5755249.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to