webMethods Broker API for JMS
Version 9.5.1.0.171 091713

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 the WmConnectionFactory.setMarshalIn method.


Method Summary
 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 received
userData - an Object set when establishing the marshalling routine
msgFactory - 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

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.