Receiving Guaranteed Messages

To receive published Guaranteed messages, a client must create a consumer flow to bind to a queue endpoint or a topic endpoint provisioned on the message broker with the spooled published messages. Once the consumer is bound to the endpoint, and it has an active consumer flow (that is, a flow through which messages are being delivered), it can consume Guaranteed messages spooled to that endpoint.

  • Client binds to a queue
  • The client can be a exclusive or non-exclusive consumer of messages spooled to that endpoint. For information on exclusive and non-exclusive consumers, refer to Queue Access Types.

  • Client binds to a topic endpoint
  • The client provides the topic subscription that it wants the endpoint to spool messages for. The topic subscription that a topic endpoint will spool messages for is not specified when a topic endpoint is provisioned.

When a consuming client successfully receives a Guaranteed message, a corresponding application acknowledgment is required to indicate to the message broker that the client application received the message, so then the message can be removed from the endpoint.