blob: f8db68fca3eeee386e22676596f86ecbcdf67c6e [file] [log] [blame]
package brooklyn.entity.messaging.amqp
import brooklyn.event.basic.BasicAttributeSensor
import brooklyn.event.basic.BasicAttributeSensorAndConfigKey
/**
* 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}. */
BasicAttributeSensorAndConfigKey<String> EXCHANGE_NAME = [ String, "amqp.exchange.name", "AMQP exchange name" ]
/**
* Return the AMQP exchange name.
*/
public String getExchangeName();
}