TsgcWSPClient_STOMP_RabbitMQ › Methods › UnSubscribeTopic
Cancels a previous topic subscription registered with SubscribeTopic.
procedure UnSubscribeTopic(const aTopic: String);
| Name | Type | Description |
|---|---|---|
aTopic | const String | Topic name (without the /topic/ prefix) passed to the matching SubscribeTopic call. |
Sends an UNSUBSCRIBE frame for the subscription registered at destination /topic/aTopic and removes it from the internal subscription list. No effect if the subscription does not exist.
sgcRabbitMQ.UnSubscribeTopic('prices');