AMQP-522: Make RabbitAdmin Constants Public
JIRA: https://jira.spring.io/browse/AMQP-522 Update docs. Conflicts: src/reference/asciidoc/amqp.adoc
This commit is contained in:
committed by
Artem Bilan
parent
be36ffd120
commit
a30239cc58
@@ -54,13 +54,28 @@ import com.rabbitmq.client.Channel;
|
||||
*/
|
||||
public class RabbitAdmin implements AmqpAdmin, ApplicationContextAware, InitializingBean {
|
||||
|
||||
protected static final String DEFAULT_EXCHANGE_NAME = "";
|
||||
/**
|
||||
* The default exchange name.
|
||||
*/
|
||||
public static final String DEFAULT_EXCHANGE_NAME = "";
|
||||
|
||||
protected static final Object QUEUE_NAME = "QUEUE_NAME";
|
||||
/**
|
||||
* Property key for the queue name in the {@link Properties} returned by
|
||||
* {@link #getQueueProperties(String)}.
|
||||
*/
|
||||
public static final Object QUEUE_NAME = "QUEUE_NAME";
|
||||
|
||||
protected static final Object QUEUE_MESSAGE_COUNT = "QUEUE_MESSAGE_COUNT";
|
||||
/**
|
||||
* Property key for the message count in the {@link Properties} returned by
|
||||
* {@link #getQueueProperties(String)}.
|
||||
*/
|
||||
public static final Object QUEUE_MESSAGE_COUNT = "QUEUE_MESSAGE_COUNT";
|
||||
|
||||
protected static final Object QUEUE_CONSUMER_COUNT = "QUEUE_CONSUMER_COUNT";
|
||||
/**
|
||||
* Property key for the consumer count in the {@link Properties} returned by
|
||||
* {@link #getQueueProperties(String)}.
|
||||
*/
|
||||
public static final Object QUEUE_CONSUMER_COUNT = "QUEUE_CONSUMER_COUNT";
|
||||
|
||||
/** Logger available to subclasses */
|
||||
protected final Log logger = LogFactory.getLog(getClass());
|
||||
|
||||
Reference in New Issue
Block a user