Class QueueInformation
java.lang.Object
org.springframework.amqp.core.QueueInformation
Information about a queue, resulting from a passive declaration.
- Since:
- 2.2
- Author:
- Gary Russell, Ngoc Nhan, Artem Bilan
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QueueInformation
-
-
Method Details
-
getName
-
getMessageCount
public long getMessageCount() -
getConsumerCount
public int getConsumerCount() -
getType
Return a queue type.classicby default since AMQP 0.9.1 protocol does not return this info inDeclareOkreply.- Returns:
- a queue type
- Since:
- 4.0
-
setType
Set a queue type.- Parameters:
type- the queue type:quorum,classicorstream- Since:
- 4.0
-
hashCode
-
equals
-
toString
-