atg.b2bcommerce.approval.processor
Class ProcSendApprovalMessage
java.lang.Object
atg.nucleus.logging.ApplicationLoggingImpl
atg.commerce.order.processor.EventSender
atg.b2bcommerce.approval.processor.ProcSendApprovalMessage
- All Implemented Interfaces:
- MessageSource, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, PipelineProcessor
public class ProcSendApprovalMessage
- extends EventSender
This processor instantiates an ApprovalMessage object and populates it. The runProcess() method
is inherited from the atg.commerce.order.processor.EventSender class. The EventSender class handles
sending the message to the messaging system.
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Methods inherited from class atg.commerce.order.processor.EventSender |
getEventType, getEventType, getMessageIdGenerator, getMessageIdSpaceName, getMessageSourceContext, getNextMessageId, getPortName, getRetCodes, isAllowMessageSending, runProcess, sendObjectMessage, setAllowMessageSending, setEventType, setMessageIdGenerator, setMessageIdSpaceName, setMessageSourceContext, setPortName, startMessageSource, stopMessageSource |
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl |
addGlobalLogListeners, addLogListener, getLoggingIdentifer, getLoggingIdentifier, 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, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
ProcSendApprovalMessage
public ProcSendApprovalMessage()
- Creates a new
ProcSendApprovalMessage
instance.
getMessageSourceName
public java.lang.String getMessageSourceName()
- Return the messageSourceName property.
- Returns:
- the name of the message source
setMessageSourceName
public void setMessageSourceName(java.lang.String pMessageSourceName)
- Set the messageSourceName property.
- Parameters:
pMessageSourceName
- the name of the message source
createEventToSend
public java.io.Serializable createEventToSend(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
- This method creates the ApprovalMessage object and populates it.
- Overrides:
createEventToSend
in class EventSender
- Throws:
java.lang.Exception