TsgcWSPClient_STOMP_ActiveMQ › Methods › UnSubscribeTopic
Removes a previous topic subscription.
procedure UnSubscribeTopic(const aTopic: String);
| Name | Type | Description |
|---|---|---|
aTopic | const String | Topic name originally passed to SubscribeTopic (without the /topic/ prefix). |
Sends an UNSUBSCRIBE frame with destination /topic/ + aTopic so the ActiveMQ broker stops delivering messages for that topic to this client. No additional MESSAGE frames are received on the subscription once the broker has processed the request.
oActiveMQ.UnSubscribeTopic('prices');