76.11. ブループリントで宛先とコンジットを設定する
Camel 2.11.x から、Camel Transport は Blueprint での設定をサポートします。
ブループリントを使用している場合は、名前空間 http://cxf.apache.org/transports/camel/blueprint
を使用して、以下のようにスキーマをインポートする必要があります。
ブループリントの設定名前空間の追加
blueprint camel:conduit
camel:destination
には camelContextId 属性が 1 つしかないため、camel 宛先での camel コンテキストの指定はサポートされていません。
<camel:conduit id="*.camel-conduit" camelContextId="camel1" /> <camel:destination id="*.camel-destination" camelContextId="camel1" />
<camel:conduit id="*.camel-conduit" camelContextId="camel1" />
<camel:destination id="*.camel-destination" camelContextId="camel1" />