TsgcWSPClient_STOMP_RabbitMQMethods › UnSubscribeQueue

UnSubscribeQueue Method

Cancels a previous subscription registered with SubscribeQueue.

Syntax

procedure UnSubscribeQueue(const aQueue: String);

Parameters

NameTypeDescription
aQueueconst StringQueue name (without the /queue/ prefix) passed to the matching SubscribeQueue call.

Remarks

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.

Example

sgcRabbitMQ.UnSubscribeQueue('orders');

Back to Methods