TsgcWSPClient_STOMP_ActiveMQMethods › UnSubscribeTopic

UnSubscribeTopic Method

Removes a previous topic subscription.

Syntax

procedure UnSubscribeTopic(const aTopic: String);

Parameters

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

Remarks

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.

Example

oActiveMQ.UnSubscribeTopic('prices');

Back to Methods