The WebSphere Commerce messaging system allows you to manage all aspects of defining and sending messages generated within WebSphere Commerce. It allows you to control the manner in which administrators, customers, back-end and fulfillment center systems are notified of various events, such as customer orders or system errors.
To configure the outbound messaging system use the Administration Console. The messaging system can send messages using transports such as e-mail using SMTP and file using UTF-8 encoding. For e-mail the supported outbound protocol is SMTP, the message encoding depends on the preferred language of the user, and the store/site default language. Optionally, you can configure the messaging system to send messages to a back-end or fulfillment center system using WebSphere MQ.
The outbound messaging system provides a highly customizable messaging environment. These features include the following:
- Composition services
Customize messages using predefined JSP templates. - Multiple message transmissions support Allows you to send a single message through more than one transport.
- Multiple notification messages over the same transport This is useful for sending broadcast emails to multiple recipients.
- Support for three processing types:
- sendTransacted Use for messages that should be sent upon successful completion of the current transaction.
- sendImmediate Use for messages that should be sent when the event takes place in WebSphere Commerce. The message is sent whether the transaction commits or not.
- sendReceiveImmediate (Request-reply) Use for messages that require a response message from the back-end system.
Note: Ensure transport attributes, for example e-mail addresses, and file locations are valid. The Messaging System does not validate attributes; incorrect attributes will result in failure to send the message.