TsgcWSPClient_STOMP_ActiveMQMethods › UnSubscribeEx

UnSubscribeEx Method

Removes a subscription previously opened with SubscribeEx.

Syntax

procedure UnSubscribeEx(const aDestination: String);

Parameters

NameTypeDescription
aDestinationconst StringDestination string originally supplied to SubscribeEx, written as-is into the UNSUBSCRIBE frame.

Remarks

Sends an UNSUBSCRIBE frame for a destination that was opened with SubscribeEx. No prefix is applied, so the caller must pass the same string used when subscribing. After the broker processes the frame no more MESSAGE frames are delivered on that subscription.

Example

oActiveMQ.UnSubscribeEx('/topic/VirtualTopic.orders');

Back to Methods