You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2017/11/06 04:29:45 UTC

[camel] branch master updated: polish

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0ca24d4  polish
0ca24d4 is described below

commit 0ca24d400e8a46f8625ff500401025f3458cc730
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Mon Nov 6 05:29:37 2017 +0100

    polish
---
 .../java/org/apache/camel/component/jms/JmsStreamMessageTypeTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsStreamMessageTypeTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsStreamMessageTypeTest.java
index f0940d2..3ebffc0 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsStreamMessageTypeTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsStreamMessageTypeTest.java
@@ -62,8 +62,8 @@ public class JmsStreamMessageTypeTest extends CamelTestSupport {
         assertEquals(0, is.available());
 
         // assert on the content of input versus output file
-        String srcContent = context.getTypeConverter().convertTo(String.class, new File("src/test/data/message1.xml"));
-        String dstContent = context.getTypeConverter().convertTo(String.class, new File("target/stream/out/message1.xml"));
+        String srcContent = context.getTypeConverter().mandatoryConvertTo(String.class, new File("src/test/data/message1.xml"));
+        String dstContent = context.getTypeConverter().mandatoryConvertTo(String.class, new File("target/stream/out/message1.xml"));
         assertEquals("both the source and destination files should have the same content", srcContent, dstContent);
     }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].