Class ExchangeDefaults


  • public class ExchangeDefaults
    extends java.lang.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.

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

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_EXCHANGE_NAME
      The default direct exchange, which is a special internal exchange that cannot be explicitly bound to.
      static java.lang.String DIRECT_EXCHANGE_CLASS
      Defines the identifying type name of direct exchanges.
      static java.lang.String DIRECT_EXCHANGE_NAME
      The pre-defined direct exchange, the broker MUST provide this.
      static java.lang.String FANOUT_EXCHANGE_CLASS
      Defines the identifying type name of fanout exchanges.
      static java.lang.String FANOUT_EXCHANGE_NAME
      The pre-defined fanout exchange, the boker MUST provide this.
      static java.lang.String HEADERS_EXCHANGE_CLASS
      Defines the identifying type name of headers exchanges.
      static java.lang.String HEADERS_EXCHANGE_NAME
      The pre-defined headers exchange, the specification does not say this needs to be provided.
      static java.lang.String TOPIC_EXCHANGE_CLASS
      Defines the identifying type name of topic exchanges.
      static java.lang.String TOPIC_EXCHANGE_NAME
      The pre-defined topic exchange, the broker SHOULD provide this.
    • 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 java.lang.String DEFAULT_EXCHANGE_NAME
        The default direct exchange, which is a special internal exchange that cannot be explicitly bound to.
        See Also:
        Constant Field Values
      • TOPIC_EXCHANGE_NAME

        public static final java.lang.String TOPIC_EXCHANGE_NAME
        The pre-defined topic exchange, the broker SHOULD provide this.
        See Also:
        Constant Field Values
      • TOPIC_EXCHANGE_CLASS

        public static final java.lang.String TOPIC_EXCHANGE_CLASS
        Defines the identifying type name of topic exchanges.
        See Also:
        Constant Field Values
      • DIRECT_EXCHANGE_NAME

        public static final java.lang.String DIRECT_EXCHANGE_NAME
        The pre-defined direct exchange, the broker MUST provide this.
        See Also:
        Constant Field Values
      • DIRECT_EXCHANGE_CLASS

        public static final java.lang.String DIRECT_EXCHANGE_CLASS
        Defines the identifying type name of direct exchanges.
        See Also:
        Constant Field Values
      • HEADERS_EXCHANGE_NAME

        public static final java.lang.String HEADERS_EXCHANGE_NAME
        The pre-defined headers exchange, the specification does not say this needs to be provided.
        See Also:
        Constant Field Values
      • HEADERS_EXCHANGE_CLASS

        public static final java.lang.String HEADERS_EXCHANGE_CLASS
        Defines the identifying type name of headers exchanges.
        See Also:
        Constant Field Values
      • FANOUT_EXCHANGE_NAME

        public static final java.lang.String FANOUT_EXCHANGE_NAME
        The pre-defined fanout exchange, the boker MUST provide this.
        See Also:
        Constant Field Values
      • FANOUT_EXCHANGE_CLASS

        public static final java.lang.String FANOUT_EXCHANGE_CLASS
        Defines the identifying type name of fanout exchanges.
        See Also:
        Constant Field Values