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
Modifier and TypeInterfaceDescriptionstatic interface
This functional interface defines the callback to call when the processing of a Lumberjack message is complete -
Method Summary
Modifier and TypeMethodDescriptionvoid
onMessageReceived
(Object payload, LumberjackMessageProcessor.Callback callback) Called when a message is received.
-
Method Details
-
onMessageReceived
Called when a message is received. Thecallback
must be called with the status of the processing- Parameters:
payload
- Lumberjack message payloadcallback
- Callback to call when the processing is complete
-