Custom Trigger for the Poller
The use case I am trying to configure is that I need to trigger the poller only when the service method completes the execution triggered during earlier poll.
Poller should not read the message while the service method is in execution. The execution time of the service method varies based on the message. So it might not be optimal for this use case to use interval-trigger.
I am wondering if Spring-Integration allows use of custom triggers. I see the xsd does not have support custom trigger.
Could you please let me know if I am missing anything or if there is any alternative approach for this use case?