The journey comes to an end. I managed to create the json endpoint.
It does not use Camel but plain CXF.
This is the final configuration (quite simple actually ;-) ):
<jaxrs:server id="providerPOXJSON" address="/xyz/json">
<jaxrs:serviceBeans>
<ref component-id="providerAdapter"/>
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref component-id="jsonProvider" />
</jaxrs:providers>
</jaxrs:server>
<bean id="jsonProvider"
class="org.apache.cxf.jaxrs.provider.json.JSONProvider">
<property name="inTransformElements">
<map>
<entry key="*" value="{http://xyz/types}*"/>
</map>
</property>
</bean>
<bean id="providerAdapter" class="org.xyz.ProviderAdapter"/>
Thank you very much for your help.
Cheers
--
View this message in context:
http://camel.465427.n5.nabble.com/CXFRS-does-not-process-JSON-tp5716343p5716468.html
Sent from the Camel - Users mailing list archive at Nabble.com.