TsgcWSPClient_STOMP_RabbitMQMethods › UnSubscribeEx

UnSubscribeEx Method

Low-level UNSUBSCRIBE for a subscription registered with a raw destination string.

Syntax

procedure UnSubscribeEx(const aDestination: String);

Parameters

NameTypeDescription
aDestinationconst StringRaw RabbitMQ destination exactly as passed to the matching SubscribeEx call.

Remarks

Locates the subscription by destination and sends the UNSUBSCRIBE frame using its original subscription identifier. No effect if the destination was not previously subscribed.

Example

sgcRabbitMQ.UnSubscribeEx('/exchange/logs/error.*');

Back to Methods