Package 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 theWmConnectionFactory.setMarshalOut
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 sentuserData
- 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
-
-