Merge pull request #14890 from hmdrzsharifi/BAEL-7076
#BAEL-7076: Update article "Unmarshalling a JSON Array Using camel-jackson"
This commit is contained in:
commit
4efa2ba820
@ -45,8 +45,8 @@ public class FruitArrayJacksonUnmarshalUnitTest {
|
|||||||
return new RouteBuilder() {
|
return new RouteBuilder() {
|
||||||
@Override
|
@Override
|
||||||
public void configure() throws Exception {
|
public void configure() throws Exception {
|
||||||
from("direct:jsonInput").unmarshal(new ListJacksonDataFormat(Fruit.class))
|
from("direct:jsonInput").unmarshal(new ListJacksonDataFormat(Fruit.class))
|
||||||
.to("mock:marshalledObject");
|
.to("mock:marshalledObject");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user