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

com.evento.common.messaging.consumer.EventConsumer Maven / Gradle / Ivy

The newest version!
package com.evento.common.messaging.consumer;

import com.evento.common.modeling.messaging.dto.PublishedEvent;


/**
 * Represents an event consumer that consumes published events.
 */
public interface EventConsumer {

	/**
	 * Consumes a published event.
	 *
	 * @param event the event to consume
	 * @throws Exception if an error occurs during consumption
	 */
    void consume(PublishedEvent event) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy