Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16756

Improve handling of Vert.x Buffer payloads in platform-http-vertx

    XMLWordPrintableJSON

Details

    • Unknown

    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.

      Attachments

        Issue Links

          Activity

            People

              jamesnetherton James Netherton
              jamesnetherton James Netherton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: