[ 
https://issues.apache.org/jira/browse/CAMEL-7234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Beryozkin updated CAMEL-7234:
------------------------------------

    Summary: org.apache.camel.spi.DataFormat should expose a list of supported 
formats  (was: DataFormat interface should expose a list of supported formats)

> org.apache.camel.spi.DataFormat should expose a list of supported formats
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-7234
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7234
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>
> If we have two DataFormat implementations and say two different HTTP media 
> types then it is not possible to write a generic code selecting the right 
> format matching the current media type. While this is specific to the 
> marshalling/unmarshalling, the problem can easily be generalized
> Proposal: add a new method, "Set<String> getSupportedFormats()" in the next 
> major Camel release, and document it as a migration issue for users 
> implementing custom Data formats not shipped with Camel be aware of the 
> upgrade. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to