Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.14.0
-
None
-
Unknown
Description
See: http://camel.465427.n5.nabble.com/RestBindingProcessor-JSON-Data-Format-Config-td5757103.html
When using custom JSON data format in REST DSL, the service incorrectly rejects messages with request structure and accepts messages with response structure.
This is due to org.apache.camel.model.rest.RestBindingDefinition.createProcessor(RouteContext) looking up and configuring the same DataFormat object twice:
DataFormat json = context.resolveDataFormat(name); DataFormat outJson = context.resolveDataFormat(name);
Attachments
Attachments
Issue Links
- relates to
-
CAMEL-8389 camel-jackson - Allow to configure jackson object mapper from XML DSL
- Resolved