camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-10567: Camel-Jackson: Add an option to allow the UnmarshallType header use. Fix test
Date Fri, 09 Dec 2016 10:31:10 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x c93a87c36 -> 342b09e8e


CAMEL-10567: Camel-Jackson: Add an option to allow the UnmarshallType header use. Fix test


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/342b09e8
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/342b09e8
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/342b09e8

Branch: refs/heads/camel-2.17.x
Commit: 342b09e8e376b7b09290152f4f30097794049581
Parents: c93a87c
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri Dec 9 11:30:36 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri Dec 9 11:30:36 2016 +0100

----------------------------------------------------------------------
 .../jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java  | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/342b09e8/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java
b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java
index ffabeeb..7af7ed8 100644
--- a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java
+++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java
@@ -16,8 +16,6 @@
  */
 package org.apache.camel.component.jackson;
 
-import java.util.LinkedHashMap;
-
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.test.junit4.CamelTestSupport;
@@ -29,7 +27,6 @@ public class JacksonMarshalUnmarshalTypeHeaderNotAllowedTest extends CamelTestSu
     public void testUnmarshalPojo() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:reversePojo");
         mock.expectedMessageCount(1);
-        mock.message(0).body().isInstanceOf(LinkedHashMap.class);
 
         String json = "{\"name\":\"Camel\"}";
         template.sendBodyAndHeader("direct:backPojo", json, JacksonConstants.UNMARSHAL_TYPE,
TestPojo.class.getName());


Mime
View raw message