org.apache.qpid.exchange
Class ExchangeDefaults

java.lang.Object
  extended by org.apache.qpid.exchange.ExchangeDefaults

public class ExchangeDefaults
extends Object

Defines the names of the standard AMQP exchanges that every AMQP broker should provide. These exchange names and type are given in the specification.

CRC Card
Responsibilities Collaborations
Defines the standard AMQP exchange names.
Defines the standard AMQP exchange types.

Todo:
A type safe enum, might be more appropriate for the exchange types.

Field Summary
static AMQShortString DEFAULT_EXCHANGE_NAME
          The default direct exchange, which is a special internal exchange that cannot be explicitly bound to.
static AMQShortString DIRECT_EXCHANGE_CLASS
          Defines the identifying type name of direct exchanges.
static AMQShortString DIRECT_EXCHANGE_NAME
          The pre-defined direct exchange, the broker MUST provide this.
static AMQShortString FANOUT_EXCHANGE_CLASS
          Defines the identifying type name of fanout exchanges.
static AMQShortString FANOUT_EXCHANGE_NAME
          The pre-defined fanout exchange, the boker MUST provide this.
static AMQShortString HEADERS_EXCHANGE_CLASS
          Defines the identifying type name of headers exchanges.
static AMQShortString HEADERS_EXCHANGE_NAME
          The pre-defined headers exchange, the specification does not say this needs to be provided.
static AMQShortString TOPIC_EXCHANGE_CLASS
          Defines the identifying type name of topic exchanges.
static AMQShortString TOPIC_EXCHANGE_NAME
          The pre-defined topic exchange, the broker SHOULD provide this.
static AMQShortString WILDCARD_ANY
           
 
Constructor Summary
ExchangeDefaults()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXCHANGE_NAME

public static final AMQShortString DEFAULT_EXCHANGE_NAME
The default direct exchange, which is a special internal exchange that cannot be explicitly bound to.


TOPIC_EXCHANGE_NAME

public static final AMQShortString TOPIC_EXCHANGE_NAME
The pre-defined topic exchange, the broker SHOULD provide this.


TOPIC_EXCHANGE_CLASS

public static final AMQShortString TOPIC_EXCHANGE_CLASS
Defines the identifying type name of topic exchanges.


DIRECT_EXCHANGE_NAME

public static final AMQShortString DIRECT_EXCHANGE_NAME
The pre-defined direct exchange, the broker MUST provide this.


DIRECT_EXCHANGE_CLASS

public static final AMQShortString DIRECT_EXCHANGE_CLASS
Defines the identifying type name of direct exchanges.


HEADERS_EXCHANGE_NAME

public static final AMQShortString HEADERS_EXCHANGE_NAME
The pre-defined headers exchange, the specification does not say this needs to be provided.


HEADERS_EXCHANGE_CLASS

public static final AMQShortString HEADERS_EXCHANGE_CLASS
Defines the identifying type name of headers exchanges.


FANOUT_EXCHANGE_NAME

public static final AMQShortString FANOUT_EXCHANGE_NAME
The pre-defined fanout exchange, the boker MUST provide this.


FANOUT_EXCHANGE_CLASS

public static final AMQShortString FANOUT_EXCHANGE_CLASS
Defines the identifying type name of fanout exchanges.


WILDCARD_ANY

public static final AMQShortString WILDCARD_ANY
Constructor Detail

ExchangeDefaults

public ExchangeDefaults()


Licensed to the Apache Software Foundation