Interface ClusterMessageConsumer

All Known Implementing Classes:
ClusterUpgradeLogger, DefaultEventRuleRegistry, EventMessageConsumer, JiraAutomationQueueExecutor

@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

    Modifier and Type
    Method
    Description
    void
    receive(String channel, String message, String senderId)
    Called by the ClusterMessagingService when there is a message waiting to be processed by a node.
  • Method Details

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