64.8. 한 번만 실행
경로를 시작할 때와 같이 Camel 경로에서 메시지를 한 번만 실행할 수 있습니다. 이렇게 하려면 다음과 같이 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>