[ 
https://issues.apache.org/jira/browse/CAMEL-8237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281290#comment-14281290
 ] 

Claus Ibsen commented on CAMEL-8237:
------------------------------------

Ben, is there something in 2.14.1 you no longer can do?

You should be able to configure the data formats using the rest-dsl style, 
using the dataFormatProperty. And you can use the prefixies if you want to 
configure options differently on IN vs OUT etc.

> 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)

Reply via email to