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