In addition to the supported XML and WebSphere Commerce outbound messages, you can add support for new outbound messages. To add a new outbound message, you must write a new controller command to build the content of the new outbound message and send the message to the back-end system using the send services of the outbound messaging system.
There are two methods for building the content of new outbound messages. The first method is to build your new outbound message in your own String buffer and assign it to the outbound messaging system through the use of its message content setting services that set the message content directly. This alternative requires you to include the logic of building the message in the controller command that you write. The second method is to build your new outbound message through the use of the outbound messaging system composition services. Through the use of JSP templates, the composition services generate an outbound message according to the message layout and content you defined in the JSP template.
For more information on how to use the outbound messaging services, refer to the Outbound Messaging System Interface section. For more information on how to write commands, refer to the WebSphere Commerce Programming Guide and Tutorials.