Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | JMS Marshalling | Inbound Marshalling
 
Inbound Marshalling
 
Program Control Flow for Inbound Marshalling
Inbound Marshalling Code Example
The inbound marshalling interface, WmMarshalIn, is called when Broker events arrive at the client. This routine needs to turn the Broker event it gets passed into a JMS message.
The marshal object is passed a WmMessageFactory object which implements the create message methods from the JMS Session interface.
The marshalling object can indicate that it wants the standard conversion to take place (that is, as if no marshaller was present) by returning a value of null.
public interface WmMarshalIn
{
public WmMessage mapMessageFromEvent(Object event, Object userData,
WmMessageFactory messageFactory);
}