You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2021/06/24 13:06:00 UTC

[jira] [Created] (CAMEL-16756) Improve handling of Vert.x Buffer payloads in platform-http-vertx

James Netherton created CAMEL-16756:
---------------------------------------

             Summary: Improve handling of Vert.x Buffer payloads in platform-http-vertx
                 Key: CAMEL-16756
                 URL: https://issues.apache.org/jira/browse/CAMEL-16756
             Project: Camel
          Issue Type: Improvement
          Components: camel-platform-http-vertx
    Affects Versions: 3.11.0
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 3.12.0


There is a problem reported in camel-quarkus for the camel-platform-http-vertx component, where it attempts and fails to do type conversion from io.vertx.core.buffer.Buffer to java.nio.ByteBuffer.

https://github.com/apache/camel-quarkus/issues/2838

VertxPlatformHttpSupport.writeResponse should have an additional check to see if the message body is io.vertx.core.buffer.Buffer, and if if is, just use it to write the HTTP response. There is no conversion needed in this scenario.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)