-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New functional option to add a serialHandler that reads N messages at once and process them one at a time - serially. receiver := NewReceiver(, WithSerialHandler(h, 200)) where h is an instance of Handler. Defining a SerialHandler this way disables the normal parallel processing defined by WithHandlers(). It is highly recommended to specify RenewMessageLock if the number of received messages is high (say > 10). One has to be sure that processing the number of messages within 60s is achievable. AB#9378
- Loading branch information
Showing
2 changed files
with
89 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters