Guaranteed Message Flows
For a client application to publish Guaranteed messages to or consume Guaranteed messages from Solace, it must create one or more flows within a session. A flow is an API object that allows applications to send or receive Guaranteed messages.
A subscriber flow allows applications to receive Guaranteed messages from an endpoint, such as a queue. Unless otherwise noted, references to flows are to subscriber flows.
Clients also use flows when they publish Guaranteed messages. For the Solace C API, a producer flow is automatically established at the beginning of a session. This allows the client to send persistent messages at any time while the session remains active. For more information, see Publishing Guaranteed Messages.
Flow APIs for Receiving Messages
To create flows for receiving Guaranteed messages, use the following functions:
solClient_session_createFlow(...)solClient_opaqueFlow_pt
Browsers
A browser allows client applications to look at messages spooled on queues from oldest to newest without removing them. After messages are browsed, they can still be received by consumers over flows.
It is also possible to use a browser to look at messages and selectively remove them from the queue. Removed messages can no longer be consumed.
In the Solace C API, flows can act as browsers when a specific flow property is set.
Browser API
To configure a flow to act as a browser, use the flow property SOLCLIENT_FLOW_PROP_BROWSER.