This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 03cf077136cfcdcfc5bf66bc66f1fd6104a9bafe
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Jan 10 11:38:39 2020 +0100

    CAMEL-14020 - Migrate deprecate getOut to getMessage in tests, camel-exec
---
 .../src/test/java/org/apache/camel/component/exec/ExecProducerTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-exec/src/test/java/org/apache/camel/component/exec/ExecProducerTest.java
 
b/components/camel-exec/src/test/java/org/apache/camel/component/exec/ExecProducerTest.java
index b687bd7..97c58f6 100644
--- 
a/components/camel-exec/src/test/java/org/apache/camel/component/exec/ExecProducerTest.java
+++ 
b/components/camel-exec/src/test/java/org/apache/camel/component/exec/ExecProducerTest.java
@@ -194,7 +194,7 @@ public class ExecProducerTest extends 
AbstractJUnit4SpringContextTests {
             }
         });
         // test the conversion
-        ExecResult result = exchange.getOut().getBody(ExecResult.class);
+        ExecResult result = exchange.getMessage().getBody(ExecResult.class);
         assertNotNull(result);
     }
 }

Reply via email to