TsgcWSPClient_STOMP_RabbitMQ › Methods › UnSubscribeQueue
Cancels a previous subscription registered with SubscribeQueue.
procedure UnSubscribeQueue(const aQueue: String);
| Name | Type | Description |
|---|---|---|
aQueue | const String | Queue name (without the /queue/ prefix) passed to the matching SubscribeQueue call. |
Sends an UNSUBSCRIBE frame for destination /queue/aQueue. Pending messages already queued will follow the queue auto-delete and consumer-count rules configured when the queue was declared.
sgcRabbitMQ.UnSubscribeQueue('orders');