org.systinet.transport.jms
Interface JmsDataHandler


public interface JmsDataHandler

This is interface between server side JMS Reduction implementation and the rest of the JMS transport. This is a callback interface called by the reduction after data are received.

Since:
4.5
See Also:
Reduction, JmsConstants
Component:
J2EE-JMS-Transport

Method Summary
 void processData(byte[] data, java.util.Map properties, java.util.Map outputProperties, Reduction reduction, javax.jms.Destination replyDest)
          Called by org.systinet.transport.jms.Reduction implementation when a new message arrives on the server side of the JMS transport.
 

Method Detail

processData

public void processData(byte[] data,
                        java.util.Map properties,
                        java.util.Map outputProperties,
                        Reduction reduction,
                        javax.jms.Destination replyDest)
                 throws javax.jms.JMSException
Called by org.systinet.transport.jms.Reduction implementation when a new message arrives on the server side of the JMS transport.

Parameters:
data - received and processed data
properties - received and processed properties
outputProperties - properties to be set on the output message on the server side. It has no sense to set them when data arrived over JMS topic. In such case, it should be set to null.
reduction - the reduction, which called the process data.
replyDest - the reply destination set on the received message. If set to null, dest will be used instead. In case of topic reduction it must be set to null.
Throws:
javax.jms.JMSException