Joe Luo created CAMEL-6925:
------------------------------
Summary: Provide an option on camel-jaxrs endpoint to allow
injection of JAXRSServerFactory
Key: CAMEL-6925
URL: https://issues.apache.org/jira/browse/CAMEL-6925
Project: Camel
Issue Type: New Feature
Components: camel-cxf
Affects Versions: 2.12.1
Reporter: Joe Luo
There is an use case where we might want to inject a jaxrs provider and
override provider properties in Java code just like what below Spring bean does:
{code}
<jaxrs:providers>
<bean class="org.apache.cxf.jaxrs.provider.json.JSONProvider">
<property name="dropRootElement" value="true" />
<property name="supportUnwrapped" value="true" />
</bean>
</jaxrs:providers>
{code}
However, it requires to build a JAXRSServerFactory to inject the CXFRSEndpoint.
But it is no way to inject JAXRSServerFactory myself. So we might need to
provide an option on camel-jaxrs endpoint to allow injection of a
JAXRSServerFactory instance.
--
This message was sent by Atlassian JIRA
(v6.1#6144)