322.6. 実行は 1 回のみ
Camel 2.8 から利用可能
ルートの起動時など、Camel ルートでメッセージを 1 度だけ実行したい場合があります。これには、以下のように repeatCount オプションを指定します。
<route> <from uri="timer://foo?repeatCount=1"/> <to uri="bean:myBean?method=someMethodName"/> </route>
<route>
<from uri="timer://foo?repeatCount=1"/>
<to uri="bean:myBean?method=someMethodName"/>
</route>