July 2017
Beginner to intermediate
358 pages
10h 54m
English
While many message queues now offer At Most Once Delivery in addition to the At Least Once, the latter option is still the best for large throughput of messages. To deal with the fact that the downstream service may receive a message twice it needs to be able to handle this in its own logic. One method for ensuring that the same message is not processed twice is to log the message ID in a transactions table. When we receive a message, we will insert a row which contains the message ID and then we can check when we receive a message to see if it has already been processed and if it has to dispose of that message.
The other issue that can occur with messaging is receiving a message out of sequence if ...
Read now
Unlock full access