This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 731d7cd20c5 CAMEL-21799: camel-coap - Exchange retrieve only the last block of Blockwise 731d7cd20c5 is described below commit 731d7cd20c59a29a115f29817f9b2b161cb1a104 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Feb 26 07:16:48 2025 +0100 CAMEL-21799: camel-coap - Exchange retrieve only the last block of Blockwise --- .../src/main/java/org/apache/camel/coap/CamelCoapResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java b/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java index dc4e0cfa995..25cd4fc109a 100644 --- a/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java +++ b/components/camel-coap/src/main/java/org/apache/camel/coap/CamelCoapResource.java @@ -134,7 +134,7 @@ final class CamelCoapResource extends CoapResource { res++; } - byte[] bytes = exchange.getCurrentRequest().getPayload(); + byte[] bytes = exchange.getRequest().getPayload(); camelExchange.getIn().setBody(bytes); consumer.getProcessor().process(camelExchange);