Package com.tick42.glue.core.bus
Interface Subscription
- All Superinterfaces:
AsynchronousCloseable,AutoCloseable
Can be used to unsubscribe from a topic and stop receiving data.
- Since:
- 1.6.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the message options used when subscription was created.getTopic()Returns the topic used when subscription was created.Methods inherited from interface com.tick42.glue.core.AsynchronousCloseable
close, closeAsync, onClose
-
Method Details
-
getTopic
String getTopic()Returns the topic used when subscription was created.- Returns:
- subscription topic, never
null
-
getOptions
MessageOptions getOptions()Returns the message options used when subscription was created.- Returns:
- message options, may be
null
-