public interface DispatchCallback
DispatchCallback interface is used by an NotificationDispatcher to
callback to an interested party when a Notification delivery is
attempted.
This class can be used to let the caller know the success or failure status
of the outbound Notification.| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(List<String> callbackIds)
Invoked when a
Notification failed to be dispatched. |
void |
onSuccess(List<String> callbackIds)
Invoked when a
Notification was successfully dispatched. |
void onSuccess(List<String> callbackIds)
Notification was successfully dispatched.callbackIds - a list of unique IDs that the caller can use to identify the
Notification that was dispatched.void onFailure(List<String> callbackIds)
Notification failed to be dispatched.callbackIds - a list of unique IDs that the caller can use to identify the
Notification that was dispatched.Copyright © 2022 Apache Software Foundation. All rights reserved.