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

James Netherton updated CAMEL-16756:
------------------------------------
    Description: 
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.

  was:
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.


> 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)

Reply via email to