Krzysztof Jamróz created CAMEL-16112:
----------------------------------------
Summary: Camel REST deserializes response to wrong type
Key: CAMEL-16112
URL: https://issues.apache.org/jira/browse/CAMEL-16112
Project: Camel
Issue Type: Bug
Affects Versions: 3.7.1
Reporter: Krzysztof Jamróz
Attachments: RestDataformatTest.java
Camel REST component deserializes response to wrong type when the type is
configured using {{outType}} parameter. I attached test demonstrating the
issue. It runs fine in Camel 3.7.0.
My observation is that both routes share the same {{DataFormat}} instance which
is configured by first route and used by the second one. I think the problem
might be not in the REST component itself but due to recent changes in data
format cache'ing (CAMEL-16032, CAMEL-16045).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)