@ExperimentalSpi public interface

ClusterMessageConsumer

com.atlassian.jira.cluster.ClusterMessageConsumer
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
void receive(String channel, String message, String senderId)
Called by the ClusterMessagingService when there is a message waiting to be processed by a node.

Public Methods

public 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 to
message The content of the message
senderId The id of the node that raised the message