TsgcWSPClient_STOMP_RabbitMQMethods › UnSubscribeTopic

UnSubscribeTopic Method

Cancels a previous topic subscription registered with SubscribeTopic.

Syntax

procedure UnSubscribeTopic(const aTopic: String);

Parameters

NameTypeDescription
aTopicconst StringTopic name (without the /topic/ prefix) passed to the matching SubscribeTopic call.

Remarks

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.

Example

sgcRabbitMQ.UnSubscribeTopic('prices');

Back to Methods