[
https://issues.apache.org/jira/browse/CAMEL-7178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin updated CAMEL-7178:
------------------------------------
Attachment: DataFormatProviderTest.java
DataFormatProvider.java
Simple DataFormatProvider is attached. It can be handy when people have already
have custom DataFormat implementations declared directly in their roots, so
when needed they would just add DataFormatProvider to CXFRS and configure with
the reference(s) to the existing formats.
This can be pushed/simplified further if DataFormat becomes more 'format-safe'
(CAMEL-7234). In meantime the provider can minimize the configuration effort in
some cases.
Finally, it is not strictly CXFRS specific. In due time in can be easily pushed
out to say a new camel-jaxrs component with the provider located in CXFRS
simply extending the new provider code but I guess this is a longer term goal
> Create JAX-RS MessageBodyWriter and Reader which will work with Camel data
> format
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-7178
> URL: https://issues.apache.org/jira/browse/CAMEL-7178
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Sergey Beryozkin
> Priority: Minor
> Attachments: DataFormatProvider.java, DataFormatProviderTest.java
>
>
> The provider will be initialized with a reference to Camel Data Format
> component; will let people avoid duplicating the provider declarations when
> the data format has already been declared
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)