The ReturnManager creates Java Messaging Service (JMS) message for the following events. Each event appears as an event option in the Scenario Editor:

Event

Description

ReturnSubmitted

This event is fired whenever a new return is confirmed and saved to the repository.

ReturnCompleted

This event is fired whenever a return is finished and there are no more actions required in the process.

ReturnMerchandiseReceived

This event fires whenever the returned merchandise is received. It has the following properties:

returnItemToQuantityReceived – Maps the return item ID to the quantity received

returnItemToReceivedDisposition – Maps the return item ID to the received disposition

The /atg/commerce/custsvc/returns/ReturnEventMessageSource component is the message source for all return events. The JMS types and port names for each type of return message is configured using the messageTypeToPortName and messageTypeToJMSType. For example:

$class=atg.commerce.csr.returns.ReturnEventMessageSource
defaultPortName=returns

#maps the port name used for each message type. Types not appearing in the map
#will use the default  port
messageTypeToPortName=\
  ReturnSubmitted=returns,\
  ReturnCompleted=returns,\
  ReturnMerchandiseReceived=returns

#maps the JMS type used for each message type
messageTypeToJMSType=\
  ReturnSubmitted=atg.commerce.csr.returns.ReturnSubmitted,\
  ReturnCompleted=atg.commerce.csr.returns.ReturnCompleted,\
  ReturnMerchandiseReceived=atg.commerce.csr.returns.ReturnMerchandiseReceived

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices