Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

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

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

Viewing all articles
Browse latest Browse all 5648

Trending Articles