com.atlassian.jira.cluster
Interface ClusterMessageConsumer
- All Known Implementing Classes:
- EventMessageConsumer
@ExperimentalSpi
public interface ClusterMessageConsumer
The interface to be implemented by classes wishing to listen to messages sent to a cluster. Implementing classes
need to be registered as listeners with the ClusterMessagingService
.
- Since:
- v6.3
Method Summary |
void |
receive(String channel,
String message,
String senderId)
Called by the ClusterMessagingService when there is a message waiting to be processed by a node. |
receive
void receive(String channel,
String message,
String senderId)
- Called by the ClusterMessagingService when there is a message waiting to be processed by a node.
- Parameters:
channel
- The channel the message was sent tomessage
- The content of the messagesenderId
- The id of the node that raised the message
Copyright © 2002-2014 Atlassian. All Rights Reserved.