TsgcWSPClient_STOMP_RabbitMQ › Events

TsgcWSPClient_STOMP_RabbitMQ Events

Events you can handle, grouped by purpose, followed by the full alphabetical list.

Lifecycle

NameDescription
OnRabbitMQConnectedFires after the RabbitMQ broker answers the CONNECT frame with a CONNECTED frame; exposes the negotiated session via a typed Headers object.
OnRabbitMQDisconnectedFires when the RabbitMQ STOMP session is closed; reports the underlying WebSocket close code.
OnRabbitMQErrorFires when an ERROR frame is received from the RabbitMQ broker; delivers the error message and the full ERROR Headers.
OnRabbitMQPingFires when a heart-beat (single newline) is exchanged with the RabbitMQ broker; reports direction and timestamps of the last exchange.

Messaging

NameDescription
OnRabbitMQMessageFires when a MESSAGE frame is received for an active RabbitMQ subscription; delivers the body, the typed Headers and the originating Subscription item.
OnRabbitMQReceiptFires when a RECEIPT frame is received, confirming that a prior client frame requesting a receipt has been processed by RabbitMQ.

All Events (alphabetical)

NameDescription
OnRabbitMQConnectedFires after the RabbitMQ broker answers the CONNECT frame with a CONNECTED frame; exposes the negotiated session via a typed Headers object.
OnRabbitMQDisconnectedFires when the RabbitMQ STOMP session is closed; reports the underlying WebSocket close code.
OnRabbitMQErrorFires when an ERROR frame is received from the RabbitMQ broker; delivers the error message and the full ERROR Headers.
OnRabbitMQMessageFires when a MESSAGE frame is received for an active RabbitMQ subscription; delivers the body, the typed Headers and the originating Subscription item.
OnRabbitMQPingFires when a heart-beat (single newline) is exchanged with the RabbitMQ broker; reports direction and timestamps of the last exchange.
OnRabbitMQReceiptFires when a RECEIPT frame is received, confirming that a prior client frame requesting a receipt has been processed by RabbitMQ.