webMethods Broker API for JMS
Version 9.5.1.0.171 091713

com.webmethods.jms.marshal
Interface WmMarshalOut


public interface WmMarshalOut

Interface that is implemented by outbound marshallers to translate a JMS Message to a BrokerEvent
The marshaller is established by using the WmConnectionFactory.setMarshalOut method.


Method Summary
 WmBrokerEventWrapper mapMessageToEvent(javax.jms.Message msg, java.lang.Object userData)
          Maps a JMS Message to a WmBrokerEvent for transport through the Broker.
 

Method Detail

mapMessageToEvent

WmBrokerEventWrapper mapMessageToEvent(javax.jms.Message msg,
                                       java.lang.Object userData)
                                       throws java.lang.Exception
Maps a JMS Message to a WmBrokerEvent for transport through the Broker.

Parameters:
msg - the JMS Message that is to be sent
userData - an Object set when establishing the marshalling routine
Returns:
a WmBrokerEventWrapper object that contains the event to be sent. If null is returned, the original message will be sent
Throws:
java.lang.Exception

webMethods Broker API for JMS
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.