mardi 27 février 2018

Is there any hook triggered when a spring integration flow finishes in testing with the OnlyOnceTrigger?

In testing for projects with spring-integration, with the OnlyOnceTrigger, it is expected that a flow will finish soon. However I cannot find a way to determine when thus I have to use Thread.sleep(n) to wait for enough time, which is quite inefficient. Any suggestion with this issue?

Aucun commentaire:

Enregistrer un commentaire