
com.evento.common.messaging.consumer.EventConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evento-common Show documentation
Show all versions of evento-common Show documentation
Common Library of Object and Algorithms for Evento Framework
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