[
https://issues.apache.org/jira/browse/CAMEL-8237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275076#comment-14275076
]
Willem Jiang commented on CAMEL-8237:
-------------------------------------
Hi Benjamin,
Can you add a simple test case to use the error?
> Regression: no longer possible to use a custom DataFormat bean in rest
> configuration
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-8237
> URL: https://issues.apache.org/jira/browse/CAMEL-8237
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.1
> Reporter: Benjamin Habegger
>
> Previously in version 2.14.0 it was possible to define a dataFormat as a
> spring bean (as decribed in http://camel.apache.org/data-format.html) and set
> the rest configuration to use this custom dataformat.
> Since version 2.14.1, defining such a dataformat and configuring rest to use
> it leads to : java.lang.IllegalArgumentException: JsonDataFormat name: json
> must not be an existing bean instance from the registry
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)