To turn on application JMS messaging, set the sendPricingMessages
property of the PricingTools
component to True
.
Oracle ATG Web Commerce includes a PricingMessage
JMS message class that can wrap a UserMessage
. The PricingMessage
class extends CommerceMessageImpl
class to create a simple JMS class with a userMessage
property containing the application message. The type
property is derived from the user message identifier by prefixing atg.commerce.pricing.
For example,
atg.commerce.pricing.GWPQualified
Default application messages are providing for the Gift with Purchase and stacking rules features.
All of the following properties must be set to true in order to use JMS messaging:
GWPManager.jmsEnabled
—The default isfalse
.PricingTools.sendUserMessages
—The default isfalse
.PricingTools.sendPricingMessages
—The default isfalse
.PricingTools.sendGWPMessages
—The default istrue
.