| com.atlassian.bitbucket.topic.TopicListener<T extends java.io.Serializable> |
Callback interface for messages sent to a topic.
Note: onMessage(MessageEvent) is called from one of a limited number of message delivery
threads. If a callback needs to do significant processing, it should hand off the work to an Executor to
ensure the message delivery threads don't get tied up blocking future message delivery.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Callback method that is called when a message is published to the topic that the listener has subscribed to.
| |||||||||||
Callback method that is called when a message is published to the topic that the listener has subscribed to.
| message | the message |
|---|