How the sample uses syncpoints
The programs in the Credit Check sample application declare syncpoints to ensure that:
- Only one reply message is sent in response to each expected message
- Multiple copies of unexpected messages are never put on the sample’s dead-letter queue
- The CAM can recover the state of all partially-completed inquiries by getting persistent messages from its waiting queue
To achieve this, a single unit of work is used to cover the getting of a message, the processing of that message, and any subsequent put operations.
Parent topic:
Design considerations
fg18670_