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

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

     [ https://issues.apache.org/jira/browse/CAMEL-16756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-16756.
---------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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 it 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)