TsgcWSPClient_STOMP_ActiveMQ › Methods › UnSubscribeQueue
Removes a previous queue subscription.
procedure UnSubscribeQueue(const aQueue: String);
| Name | Type | Description |
|---|---|---|
aQueue | const String | Queue name originally passed to SubscribeQueue (without the /queue/ prefix). |
Sends an UNSUBSCRIBE frame with destination /queue/ + aQueue so the ActiveMQ broker stops delivering messages for that queue to this client. Any messages still held for the subscription remain in the queue for other consumers.
oActiveMQ.UnSubscribeQueue('orders');