TsgcWSPClient_STOMP_RabbitMQMethods › UnSubscribeTemporaryQueue

UnSubscribeTemporaryQueue Method

Cancels a previous subscription registered with SubscribeTemporaryQueue.

Syntax

procedure UnSubscribeTemporaryQueue(const aQueue: String);

Parameters

NameTypeDescription
aQueueconst StringTemporary queue identifier (without the /temp-queue/ prefix) passed to the matching SubscribeTemporaryQueue call.

Remarks

Sends an UNSUBSCRIBE frame for destination /temp-queue/aQueue. The temporary queue will be auto-deleted by the broker once the connection closes even if UnSubscribeTemporaryQueue is not called.

Example

sgcRabbitMQ.UnSubscribeTemporaryQueue('replies');

Back to Methods