FUSE と Camel の新機能。
( https://github.com/jboss-fuse/quickstarts )から CBR プロジェクトをダウンロードし、スタンドアロンのラクダ プロジェクトとして実行できました。cbr.xml は次のとおりです。これにより、MSG が work/cbr/input ディレクトリから別のディレクトリにドロップされます。これを mvn camel:run として実行できます
<route id="cbr-route">
<from uri="file:work/cbr/input" />
<log message="Receiving order ${file:name}" />
<choice>
<when>
<xpath>/order:order/order:customer/order:country = 'UK'</xpath>
<log message="Sending order ${file:name} to the UK" />
<to uri="file:work/cbr/output/uk" />
</when>
<when>
<xpath>/order:order/order:customer/order:country = 'US'</xpath>
<log message="Sending order ${file:name} to the US" />
<to uri="file:work/cbr/output/us" />
</when>
<otherwise>
<log message="Sending order ${file:name} to another country" />
<to uri="file:work/cbr/output/others" />
</otherwise>
</choice>
<log message="Done processing ${file:name}" />
</route>
</camelContext>
しかし、ReadMe には、FUSE SEVER を起動して、スタンドアロンとして実行できるのに FUSE コンテナーが必要な理由を理解しようとしていると書かれています。
非同期にするためにクライアントからの Web サービス呼び出しが FUSE を通過するというプロジェクト要件があります。
この場合、ヒューズコンテナは必要ないと仮定します
時間を割いて読んでくれてありがとう