Skip to content

Commit 342b09e

Browse files
committed
CAMEL-10567: Camel-Jackson: Add an option to allow the UnmarshallType header use. Fix test
1 parent c93a87c commit 342b09e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalUnmarshalTypeHeaderNotAllowedTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
*/
1717
package org.apache.camel.component.jackson;
1818

19-
import java.util.LinkedHashMap;
20-
2119
import org.apache.camel.builder.RouteBuilder;
2220
import org.apache.camel.component.mock.MockEndpoint;
2321
import org.apache.camel.test.junit4.CamelTestSupport;
@@ -29,7 +27,6 @@ public class JacksonMarshalUnmarshalTypeHeaderNotAllowedTest extends CamelTestSu
2927
public void testUnmarshalPojo() throws Exception {
3028
MockEndpoint mock = getMockEndpoint("mock:reversePojo");
3129
mock.expectedMessageCount(1);
32-
mock.message(0).body().isInstanceOf(LinkedHashMap.class);
3330

3431
String json = "{\"name\":\"Camel\"}";
3532
template.sendBodyAndHeader("direct:backPojo", json, JacksonConstants.UNMARSHAL_TYPE, TestPojo.class.getName());

0 commit comments

Comments
 (0)