Returns the next message received by this message consumer. This method will block indefinitely until either a message is received or the message consumer is closed.
Returns the next message received by this message consumer. This method will block indefinitely until either a message is received or the message consumer is closed.
IMessage Receive();
Returns the next message received by this message consumer within the specified timeout. A timeout of zero will never expire and cause the method to block indefinitely.
IMessage Receive(long);