Interface LumberjackMessageProcessor

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 LumberjackMessageProcessor
This functional interface defines a processor that will be called when a lumberjack message is received
  • Method Details

    • onMessageReceived

      void onMessageReceived(Object payload, LumberjackMessageProcessor.Callback callback)
      Called when a message is received. The callback must be called with the status of the processing
      Parameters:
      payload - Lumberjack message payload
      callback - Callback to call when the processing is complete