Troubleshooting
Problem
Tested below use case WRT handling of document TTL:
- Invoke pub.publish:publish 5 times to publish a document to Universal Messaging (UM)
- In serial native trigger service which consumes published events, invoke ps.util.system:sleep with a sleeptime of 10 seconds.
Expectation:
Running the publishing service would result in 1 run of the receiving service and the other 5 instances of the document would get discarded based on their TTL and don't cause an execution of the receiving trigger service.
Observed result:
The receiving trigger service is executed 5 times. Once for each published document.
Snooping the channel with Enterprise Manager (EM) shows that the documents get discarded after one second as expected.
Why is the receiving trigger service being executed anyway if the documents got discarded based on their TTL?
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
20 March 2025
UID
ibm17211461