[
https://issues.apache.org/jira/browse/CAMEL-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004254#comment-15004254
]
Claus Ibsen commented on CAMEL-9322:
------------------------------------
We can potentially look at adding this sooner than 3.0, but so far there hasn't
be so many people asking about this.
You can use the JIRA voting.
> Add getDataFormat(name) to CamelContext
> ---------------------------------------
>
> Key: CAMEL-9322
> URL: https://issues.apache.org/jira/browse/CAMEL-9322
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Fix For: 3.0.0
>
>
> So we have it like for getComponent(name) getEndpoint(uri) so you can lookup
> an existing data format to reuse, or create a default dataformat based on the
> name.
> Today there is a resolveDataFormat that creates a new instance if none has
> explicit added to the registry beforehand. But an end user may want to share
> a dataformat in a CamelContext like you can do with component / endpoints.
> See CAMEL-9320
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)