TsgcWSPClient_STOMP_ActiveMQMethods › UnSubscribeQueue

UnSubscribeQueue Method

Removes a previous queue subscription.

Syntax

procedure UnSubscribeQueue(const aQueue: String);

Parameters

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

Remarks

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.

Example

oActiveMQ.UnSubscribeQueue('orders');

Back to Methods