61.2. 依存関係
camel ルートで Gson を使用するには、このデータ形式を実装する camel-gson への依存関係を追加する必要があります。
maven を使用する場合は、pom.xml に以下を追加し、最新バージョンのバージョン番号を置き換えます(最新バージョンのダウンロードページを参照してください)。
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-gson</artifactId>
<version>3.14.5.redhat-00018</version>
<!-- use the same version as your Camel core version -->
</dependency>