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

ru.yandex.qatools.camelot.api.EventProducer Maven / Gradle / Ivy

There is a newer version: 2.5.4
Show newest version
package ru.yandex.qatools.camelot.api;

import java.util.Map;

/**
 * @author Ilya Sadykov (mailto: [email protected])
 */
public interface EventProducer {
    /**
     * Produce the event for the defined queue with the list of the headers
     */
    void produce(Object event, Map headers);

    /**
     * Produce the event for the defined queue
     */
    void produce(Object event);

    /**
     * Produce the event for the defined queue with the header value
     */
    void produce(Object event, String header, Object headerValue);

    /**
     * Stop the producer
     */
    void stop();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy