10.24.0

IMessageGetDestinationTopicSuffix Method

A getter for the suffix of the topic string. If the received message contains a topic destination and the topic begins with the session's topic prefix, this method returns the string following the '/' delimiter that terminates the topic prefix. Returns null if not present.

Definition

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.24.0
C#
string GetDestinationTopicSuffix(
	ISession session
)

Parameters

session  ISession
Session to get the topic prefix from

Return Value

String
The topic string with the session topic prefix removed. Returns null if the topic does not have the session prefix.

See Also