Previous Contents Index Next |
iPlanet Market Maker 4.5 Exchange Customization Guide |
Appendix A MOM Listener and JMS Tags
The message oriented middleware (MOM) listener and the Java message service (JMS) tags are in the sample BasicSchema.xml and TransportSchema.xml schema files that come with the iPlanet Market Maker software.
MOM Listeners Tag
The MOM_LISTENERS tag specifies the list of registered JMS listeners in the Exchange module. The Exchange module uses the publish/subscribe JMS paradigm. Each registered listener subscribes to the topic of interest. By default, these listeners are internal exchange services, but you can configure additional listeners and integrate them to external systems as part of customizing the process for a new exchange.Each listener entity has the following XML structure:
<MOM_LISTENER_PROPERTY name="debug" value="[debug level to set for the listener]"/>
<MOM_LISTENER_PROPERTY name="message.topic" value="[name of the topic to which the listener subscribes to]" />
The MOM listener implementation class should extend the com.iplanet.ecommerce.vortex.exchange.mom.ExchangeMOMListener class provided by the Exchange module API and implement the processMessage method.
JMS Tag
The JMS tag specifies all the configuration information needed to enable the Exchange module for the JMS implementation being used, such as the iPlanet Message Queue. The ENCRYPT tag specifies the XML subtree that needs token replacement of values for elements such as user name, password, and so on.
Previous Contents Index Next
Copyright © 2001 Sun Microsystems, Inc. All rights reserved.
Last Updated April 03, 2002