-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi, first thanks for the great library.
We are currently using your library but now want to use it to retrieve messages at a fixed rate/schedule.
As in poll for 5 messages each 10 seconds, even if you are earlier done with processing of those 5 messages.
We can't use the BatchingPeriod in the BatchingMessageRetreiverProperties as that is the maximum period it waits.
I didn't found a way to do this, so i took a look at the code.
I found out it could be possible with a new implementation of the MessageRetriever that uses a Scheduled Executor.
So that it can run at a fixed amount of time.
Would you welcome such an addition to your library or did i miss some way it could work with the current code?
Or would you prefer a different approach?
I am willing to make a pull request.