public interface MessageReceiver
Implementations of this interface are responsible for managing the connection to the broker and for receiving messages from the broker.
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Closes the message receiver. | 
| default boolean | isEOF()Test clients may return true to signal that all expected messages have been pulled
 and the test may complete. | 
| BytesXMLMessage | receive()Receives a message from the broker. | 
| void | start()Starts the message receiver. | 
void start()
This method is called in the UnboundedSolaceReader.start() method.
BytesXMLMessage receive() throws java.io.IOException
This method will block until a message is received.
java.io.IOExceptionvoid close()
default boolean isEOF()