Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.11.1, 3.12.0
-
None
-
Unknown
Description
When we run a route which is using platform-http component and we try to unmarshal to json (and I suspect also any other dataformat), there is a failure due to a missing conversion type.
For example:
from("platform-http:/hello?httpMethodRestrict=GET"). setBody(simple("{\"hello\": \"world\"}")) .unmarshal().json();
Will fail because there is a mandatory conversion from Map to ByteBuffer that is failing.
[1] 2021-08-31 13:41:58,676 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (vert.x-eventloop-thread-1) HTTP Request to /hello failed, error id: 3ea4fdb8-931c-4d59-b8e6-376dc6a34e09-1: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: java.util.LinkedHashMap to the required type: java.nio.ByteBuffer with value {hello=world}
Attachments
Issue Links
- relates to
-
CAMEL-16957 NettyHttpHelper appends slash to an URI in case of empty CamelHttpPath
- Resolved