Interface MessageTriggerAction

All Known Implementing Classes:
BarrierMessageHandler, FileWritingMessageHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface MessageTriggerAction
Classes implementing this interface can take some action when a trigger Message is received.
Since:
4.2
Author:
Gary Russell
  • Method Summary

    Modifier and Type Method Description
    void trigger​(Message<?> message)
    Take some action based on the message.
  • Method Details

    • trigger

      void trigger​(Message<?> message)
      Take some action based on the message.
      Parameters:
      message - the message.