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.
This functional interface defines a processor that will be called when a lumberjack message is received
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThis functional interface defines the callback to call when the processing of a Lumberjack message is complete -
Method Summary
Modifier and TypeMethodDescriptionvoidonMessageReceived(Object payload, LumberjackMessageProcessor.Callback callback) Called when a message is received.
-
Method Details
-
onMessageReceived
Called when a message is received. Thecallbackmust be called with the status of the processing- Parameters:
payload- Lumberjack message payloadcallback- Callback to call when the processing is complete
-