All Downloads are FREE. Search and download functionalities are using the official Maven repository.

brooklyn.entity.messaging.amqp.AmqpExchange Maven / Gradle / Ivy

There is a newer version: 0.7.0-M1
Show newest version
package brooklyn.entity.messaging.amqp;

import brooklyn.event.Sensor;
import brooklyn.event.basic.BasicAttributeSensorAndConfigKey;
import brooklyn.util.flags.SetFromFlag;

/**
 * An interface that describes an AMQP exchange.
 */
public interface AmqpExchange {

    /* AMQP standard exchange names. */
    
    String DIRECT = "amq.direct";
    String TOPIC = "amq.topic";

    /** The AMQP exchange name {@link Sensor}. */
    @SetFromFlag("exchange")
    BasicAttributeSensorAndConfigKey EXCHANGE_NAME = new BasicAttributeSensorAndConfigKey(
            String.class, "amqp.exchange.name", "AMQP exchange name");

    /**
     * Return the AMQP exchange name.
     */
    public String getExchangeName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy