@FunctionalInterface public interface LumberjackMessageProcessor
Modifier and Type | Interface and Description |
---|---|
static interface |
LumberjackMessageProcessor.Callback
This functional interface defines the callback to call when the processing of a Lumberjack message is complete
|
Modifier and Type | Method and Description |
---|---|
void |
onMessageReceived(Object payload,
LumberjackMessageProcessor.Callback callback)
Called when a message is received.
|
void onMessageReceived(Object payload, LumberjackMessageProcessor.Callback callback)
callback
must be called with the status of the processingpayload
- Lumberjack message payloadcallback
- Callback to call when the processing is completeApache Camel