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