it.netgrid.bauer.EventHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bauer-api Show documentation
Show all versions of bauer-api Show documentation
Standard Topic-Based Messaging Facade for Java
package it.netgrid.bauer;
public interface EventHandler {
public String getName();
public Class getEventClass();
/**
* Handle return value as:
* - FALSE: retry (a temporary error is occurred)
* - TRUE: go ahead (success or permanent error is occurred)
* @param event
* @return
* @throws Exception
*/
public boolean handle(E event) throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy