ru.yandex.qatools.camelot.api.EventProducer Maven / Gradle / Ivy
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();
}