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

brooklyn.entity.messaging.Topic.groovy Maven / Gradle / Ivy

package brooklyn.entity.messaging

import brooklyn.event.basic.BasicAttributeSensor
import brooklyn.event.basic.BasicAttributeSensorAndConfigKey

/**
 * An interface that describes a messaging topic.
 */
public interface Topic {
    BasicAttributeSensorAndConfigKey TOPIC_NAME = [ String, "topic.name", "Topic name" ]

    /**
     * Create the topic.
     * 
     * TODO make this an effector
     */
    public abstract void create();

    /**
     * Delete the topic.
     * 
     * TODO make this an effector
     */
    public abstract void delete();

    String getTopicName();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy