Threading When Publishing Messages
When the event broker successfully receives Guaranteed messages, it returns acknowledgments to the API. It does not return acknowledgments for Direct messages.
The context uses a processing thread to read the acknowledgment from the event broker. It then parses the windowed acknowledgment, enqueues separate acknowledgments for each message (identified by a message ID), then dispatches them to an application callback.
The Solace JavaScript API and Solace Node.js API are single-threaded including notification and dispatching the acknowledgments to application event listeners.