226.4. assertPeriod 사용
Camel 2.7에서 사용할수 있는
어설션이 충족되면 Camel은 대기를 중지하고 assertIsSatisfied
방법에서 계속 진행합니다. 즉, 새로운 메시지가 모의 끝점에 도달하면, 그 오류는 어설션 결과에 영향을 미치지 않습니다. 그런 다음 setAssertPeriod 메서드를 설정하여 이 작업을 수행할 수 있습니다. 예를 들면 다음과 같습니다.No new messages arrives after a period there, then you can do that by setting the setAssertPeriod
method, for example: