OSMQ
v2.0.1

osmq.messages
Interface MessageBuilder


public interface MessageBuilder

An interface that defines a method that creates one or more DataSetMessage objects. This interface is used by the BatchPublisher and BatchDBPublisher classes.


Method Summary
 java.lang.String getBuilderID()
           
 Message getMessage()
          This method represents the method that builds the message content.
 

Method Detail

getMessage

public Message getMessage()
                   throws java.lang.Exception
This method represents the method that builds the message content. If it returns null, no more messages are to be built, and the application terminates. Otherwise, the method returns the next message to be published.

Throws:
java.lang.Exception

getBuilderID

public java.lang.String getBuilderID()

(c) 2000 - 2003 MQue Systems
All Rights Reserved