public interface Consumer
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the underlying transport consumer.
|
String |
getConsumerTag()
Identifier for the consumer.
|
String |
getQueueName()
Queue name of the subscriber queue.
|
boolean |
isExclusive()
If true only this consumer can access the queue and consume messages.
|
void |
send(Message message)
Send message to the consumer.
|
void send(Message message) throws BrokerException
message - Message to be sent to the consumerBrokerException - throws BrokerException on message sending failureString getQueueName()
void close()
throws BrokerException
BrokerExceptionString getConsumerTag()
boolean isExclusive()
Copyright © 2017 WSO2. All rights reserved.