Samples > Sample stores > Consumer direct sample store > IBM Gift Center for the Consumer direct sample store > IBM Gift Center message mapping
IBM Gift Center outbound messages
Outbound messages are messages sent from IBM Gift Center to an external system. The IBM Gift Center approach to outbound messaging is to use the SendGiftRegistryMessageCmd command, which can be called by the UpdateGiftRegistryCmd or CancelGiftRegistryCmd commands.
To customize outbound messages, override the sendAllMessages() method.
An IBM Gift Center outbound message is intended to notify a backend system, if any, regarding updates to the gift registry. Only WebSphere MQ messaging is supported. An outbound message is simply a JSP file. It will be rendered by WebSphere Commerce's sendMsgCmd when being sent.
IBM Gift Center by default supports UpdateGiftRegistryMessage. The corresponding JSP file is located...
WC_EAR/Stores.war/ConsumerDirect/Messages
WCDE_INSTALL\workspace\Stores\WebContent\ConsumerDirect\Messages
The JSP files are ordinary JSP files, but with a special requirement: they have to be well-formed XML after rendering. You can customize these files the same way that you would update a standard JSP file.
Related concepts
IBM Gift Center for the Consumer direct sample store
Related tasks
Enable IBM Gift Center inbound messages
Related reference
IBM Gift Center message mapping