Interface TopicControl.MissingTopicNotification
- Enclosing interface:
- TopicControl
public static interface TopicControl.MissingTopicNotification
Notification that a session has made a subscription request using a
selector that does not match any topics.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of the names of the servers through which the notification has been routed.default SessionId
Returns the identity of the session that made the request.Returns the session properties of the session that made the request.default String
Returns the topic path derived from the requested topic selector.Returns theTopicSelector
that triggered this notification.
-
Method Details
-
getSessionProperties
Returns the session properties of the session that made the request.- Returns:
- the session properties
- Since:
- 6.7
-
getSessionId
Returns the identity of the session that made the request.This method is equivalent to calling
sessionIdFromString(getSessionProperties().get(Session.SESSION_ID)
.- Returns:
- the session identifier
-
getTopicPath
Returns the topic path derived from the requested topic selector. This method is equivalent to callinggetTopicSelector().getPathPrefix()
.- Returns:
- the topic path
-
getTopicSelector
TopicSelector getTopicSelector()Returns theTopicSelector
that triggered this notification.- Returns:
- the topic selector
- Since:
- 5.1
-
getServerNames
Returns a list of the names of the servers through which the notification has been routed.The first name in the list will be the name of the server to which the originating session was connected. If the notification was routed through remote server connections before reaching the recipient then those servers will also be listed in the order that the notification passed through them.
- Returns:
- list of server names, the first being the one which the originating session was connected to
- Since:
- 6.7
-