Package com.webmethods.jms.marshal
Interface WmMarshalIn
-
public interface WmMarshalIn
Interface that is implemented by inbound marshallers to translate a BrokerEvent to a JMS Message
The marshaller is established by using theWmConnectionFactory.setMarshalIn
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WmMessage
mapMessageFromEvent​(java.lang.Object event, java.lang.Object userData, WmMessageFactory msgFactory)
Maps a WmBrokerEvent to a JMS Message.
-
-
-
Method Detail
-
mapMessageFromEvent
WmMessage mapMessageFromEvent​(java.lang.Object event, java.lang.Object userData, WmMessageFactory msgFactory) throws java.lang.Exception
Maps a WmBrokerEvent to a JMS Message.- Parameters:
event
- the BrokerEvent that was receiveduserData
- an Object set when establishing the marshalling routinemsgFactory
- the factory used to create the Message- Returns:
- the Message that represents the event. If null is returned, the message is derived from the event in the standard manner.
- Throws:
java.lang.Exception
-
-