You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/02/27 09:28:38 UTC
(camel) 02/41: CAMEL-21799: camel-coap - Exchange retrieve only the last block of Blockwise
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit fff8054164eaaff9a531d99ee0426cc4d8696266
Author: Claus Ibsen <cl...@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);