public class ProcSendScenarioEvent extends EventSender
EventSender,
ItemAddedToOrder,
ItemRemovedFromOrder| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
FAILURE, SUCCESSSTOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ProcSendScenarioEvent() |
| Modifier and Type | Method and Description |
|---|---|
java.io.Serializable |
createEventToSend(java.lang.Object pParam,
PipelineResult pResult)
This method creates and populates various Commerce event objects that
represent messages which will be sent to the scenario engine.
|
java.lang.String |
getEventType(java.lang.Object pEventToSend)
If this object is a ScenarioEvent or CommerceMessage, then that message's type is
returned.
|
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier
|
java.lang.String |
getMessageSourceName()
This defines the string that the source property of messages will
be set to.
|
protected java.io.Serializable |
handleOtherEventToSend(java.lang.Object pParam,
PipelineResult pResult)
This method is used to deal with other event type.
|
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier
|
void |
setMessageSourceName(java.lang.String pMessageSourceName) |
getEventType, getMessageIdGenerator, getMessageIdSpaceName, getMessageSourceContext, getNextMessageId, getPortName, getRetCodes, getSiteId, isAllowMessageSending, runProcess, sendObjectMessage, setAllowMessageSending, setEventType, setMessageIdGenerator, setMessageIdSpaceName, setMessageSourceContext, setPortName, startMessageSource, stopMessageSourceaddGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
setLoggingIdentifier in class ApplicationLoggingImplpublic java.lang.String getLoggingIdentifier()
getLoggingIdentifier in class ApplicationLoggingImplpublic java.io.Serializable createEventToSend(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
Unknown event types are passed along to handleOtherEventToSend.
createEventToSend in class EventSenderpParam - the Map which contains all the message parameterspResult - the PipelineResult object which is supplied to runProcess()java.lang.Exceptionpublic java.lang.String getEventType(java.lang.Object pEventToSend)
super.getEventType() is returned.getEventType in class EventSenderpEventToSend - The event that will be sent whose type will be sentpublic void setMessageSourceName(java.lang.String pMessageSourceName)
public java.lang.String getMessageSourceName()
protected java.io.Serializable handleOtherEventToSend(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
pParam - the Map which contains all the message parameterspResult - the PipelineResult object which is supplied to runProcess()java.lang.Exception