The following table describes the JMS messages that support the order approval process.

Message Class

JMS Type

Description

ApprovalRequiredMessage

atg.b2bcommerce.approval.ApprovalRequired

Extends the class atg.commerce.messaging.CommerceMessageImpl.

This message includes the order requiring approval and the profile repository item for the customer associated with the order as order and profile message properties, respectively. It is sent to the /Approval/Scenarios JMS message topic, which allows the scenario server to interact with the message using SQL JMS and obtain the profile outside the current thread.

ApprovalMessage

atg.b2bcommerce.approval.ApprovalUpdate

atg.b2bcommerce.approval.ApprovalComplete

Extends the class atg.commerce.messaging.CommerceMessageImpl.

This message includes the order requiring approval and the profile repository item for the customer associated with the order as order and profile message properties, respectively. It also includes an approvalStatus message property.

A message with a JMSType of either ApprovalUpdate or ApprovalComplete is sent to the /Approval/Scenarios JMS message topic, which allows the scenario server to interact with the message using SQL JMS and obtain the profile outside the current thread.

A message with a JMSType of ApprovalUpdate is also sent to the /Approval/ApprovalUpdate JMS message queue. ApprovalCompleteService listens for messages on this queue.

 
loading table of contents...