第 56 章 JSON Jackson
Jackson 是一个数据格式,它使用 Jackson 库
from("activemq:My.Queue"). marshal().json(JsonLibrary.Jackson). to("mqseries:Another.Queue");
56.1. 依赖项
当在 Red Hat build of Camel Spring Boot 中使用 json-jackson
时,请确保使用以下 Maven 依赖项来支持自动配置:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-jackson-starter</artifactId> </dependency>