You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Kumaran <ma...@gmail.com> on 2014/12/20 00:55:45 UTC

How to conditional proxy jaxrs:server web service using cxfrs service

Hi, 

We have JAXRS service implemented using camel jaxrs:server component.  And
TestImpl has the implementation to do the business logic.  
 
<jaxrs:server id="testResource" address="/test/query">
 		<jaxrs:serviceBeans>
			<bean class="com.mycomp.TestImpl" />
		</jaxrs:serviceBeans>

 		<jaxrs:providers> 
			<ref bean="jsonprovider" />
		</jaxrs:providers> 
</jaxrs:server>
 
We need to proxy this service and invoke the implementation based on the
header param otherwise it should delegate to other web service 

Anybody could please help me with some sample configuration.
 

Thanks in advance,
Kumaran.



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-conditional-proxy-jaxrs-server-web-service-using-cxfrs-service-tp5760936.html
Sent from the Camel - Users mailing list archive at Nabble.com.