Class 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.

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

    • Field Detail

      • DEFAULT_EXCHANGE_NAME

        public static final 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 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 String TOPIC_EXCHANGE_CLASS
        Defines the identifying type name of topic exchanges.
        See Also:
        Constant Field Values
      • DIRECT_EXCHANGE_NAME

        public static final 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 String DIRECT_EXCHANGE_CLASS
        Defines the identifying type name of direct exchanges.
        See Also:
        Constant Field Values
      • HEADERS_EXCHANGE_NAME

        public static final 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 String HEADERS_EXCHANGE_CLASS
        Defines the identifying type name of headers exchanges.
        See Also:
        Constant Field Values
      • FANOUT_EXCHANGE_NAME

        public static final 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 String FANOUT_EXCHANGE_CLASS
        Defines the identifying type name of fanout exchanges.
        See Also:
        Constant Field Values