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:58 UTC

[camel] 13/23: CAMEL-15520: fixed deprecations in camel-rxjava

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 003c0d083e8f019091df7461f05d5ef1ea2cb3cc
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Mar 7 12:01:32 2022 +0100

    CAMEL-15520: fixed deprecations in camel-rxjava
---
 .../apache/camel/component/rxjava/engine/RxJavaStreamsServiceTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-rxjava/src/test/java/org/apache/camel/component/rxjava/engine/RxJavaStreamsServiceTest.java b/components/camel-rxjava/src/test/java/org/apache/camel/component/rxjava/engine/RxJavaStreamsServiceTest.java
index 942ba2c..c5e8cec 100644
--- a/components/camel-rxjava/src/test/java/org/apache/camel/component/rxjava/engine/RxJavaStreamsServiceTest.java
+++ b/components/camel-rxjava/src/test/java/org/apache/camel/component/rxjava/engine/RxJavaStreamsServiceTest.java
@@ -192,7 +192,7 @@ public class RxJavaStreamsServiceTest extends RxJavaStreamsServiceTestSupport {
 
         crs.process("direct:stream", publisher -> Flowable.fromPublisher(publisher).map(e -> {
             int i = e.getIn().getBody(Integer.class);
-            e.getOut().setBody(-i);
+            e.getMessage().setBody(-i);
 
             return e;
         }));