public interface NotifyHandler extends EventHandler
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
java.lang.String |
getEventId(org.apache.camel.Message request)
Return the eventId correlating with the process instance(s) to notify.
|
java.lang.Object |
notify(java.lang.String eventId,
java.lang.Long docId,
org.apache.camel.Message request,
int delay)
Performs the notification.
|
getPackage, getRequestDocumentType, getResponse, initializeRequestDocument, setPackagejava.lang.String getEventId(org.apache.camel.Message request)
request - the request messageint getDelay()
java.lang.Object notify(java.lang.String eventId,
java.lang.Long docId,
org.apache.camel.Message request,
int delay)
eventId - correlates with the process instance(s) to notifydocId - the request document idrequest - the message whose body contents are to be sent to the notify receiver(s)delay - in seconds