TsgcWSPClient_STOMP_ActiveMQ › Methods › UnSubscribeEx
Removes a subscription previously opened with SubscribeEx.
procedure UnSubscribeEx(const aDestination: String);
| Name | Type | Description |
|---|---|---|
aDestination | const String | Destination string originally supplied to SubscribeEx, written as-is into the UNSUBSCRIBE frame. |
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.
oActiveMQ.UnSubscribeEx('/topic/VirtualTopic.orders');