public interface EventHandler
| Modifier and Type | Method and Description |
|---|---|
com.centurylink.mdw.model.workflow.Package |
getPackage() |
java.lang.String |
getRequestDocumentType(org.apache.camel.Message request)
Return the request document object type.
|
java.lang.String |
getResponse(int code,
java.lang.String message)
Build the response based on the the message content.
|
java.lang.Object |
initializeRequestDocument(org.apache.camel.Message request)
Parse the request message body and return its object representation.
|
void |
setPackage(com.centurylink.mdw.model.workflow.Package pkg) |
java.lang.String getRequestDocumentType(org.apache.camel.Message request)
throws MdwCamelException
MdwCamelExceptionjava.lang.Object initializeRequestDocument(org.apache.camel.Message request)
throws MdwCamelException
request - - the request messageMdwCamelExceptionjava.lang.String getResponse(int code,
java.lang.String message)
code - status codemessage - status messagecom.centurylink.mdw.model.workflow.Package getPackage()
void setPackage(com.centurylink.mdw.model.workflow.Package pkg)