![]() |
Habari STOMP Client for RabbitMQ 9.4
Object Pascal STOMP client library for RabbitMQ
|
Interface for consuming messages. More...
Public Member Functions | |
Close () | |
Closes the consumer. | |
string | GetMessageSelector () |
Gets this message consumer's message selector expression. | |
IMessage | Receive () |
Receives the next message produced for this message consumer. | |
IMessage | Receive (const Integer Timeout) |
Receives the next message that arrives within the specified timeout interval. | |
IMessage | ReceiveNoWait () |
Receives the next message if one is immediately available. |
Interface for consuming messages.
IMQConsumer::Close | ( | ) |
Closes the consumer.
Since a provider may allocate some resources on behalf of a MessageConsumer, clients should close them when they are not needed.
EMQException |
Implemented in TBTMQConsumer.
string IMQConsumer::GetMessageSelector | ( | ) |
Gets this message consumer's message selector expression.
Implemented in TBTMQConsumer.
IMessage IMQConsumer::Receive | ( | ) |
Receives the next message produced for this message consumer.
Implemented in TBTMQConsumer.
IMessage IMQConsumer::Receive | ( | const Integer | Timeout | ) |
Receives the next message that arrives within the specified timeout interval.
Implemented in TBTMQConsumer.
IMessage IMQConsumer::ReceiveNoWait | ( | ) |
Receives the next message if one is immediately available.
Implemented in TBTMQConsumer.