You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/03/07 12:54:59 UTC
[camel] 14/23: CAMEL-15520: fixed deprecations in camel-reactor
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit ea9f0bdfd83d5af3fa48aa1cb881680c3045ecac
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Mar 7 12:04:42 2022 +0100
CAMEL-15520: fixed deprecations in camel-reactor
---
.../camel/component/reactor/engine/ReactorStreamsServiceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-reactor/src/test/java/org/apache/camel/component/reactor/engine/ReactorStreamsServiceTest.java b/components/camel-reactor/src/test/java/org/apache/camel/component/reactor/engine/ReactorStreamsServiceTest.java
index 0b040bf..af386f6 100644
--- a/components/camel-reactor/src/test/java/org/apache/camel/component/reactor/engine/ReactorStreamsServiceTest.java
+++ b/components/camel-reactor/src/test/java/org/apache/camel/component/reactor/engine/ReactorStreamsServiceTest.java
@@ -217,7 +217,7 @@ public class ReactorStreamsServiceTest extends ReactorStreamsServiceTestSupport
publisher -> Flux.from(publisher)
.map(e -> {
int i = e.getIn().getBody(Integer.class);
- e.getOut().setBody(-i);
+ e.getMessage().setBody(-i);
return e;
}));