org.cg.eventbus.message.MessageHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.cg.eventbus Show documentation
Show all versions of org.cg.eventbus Show documentation
Simplified messaging programming model with kafka implementation.
package org.cg.eventbus.message;
import org.apache.commons.configuration.Configuration;
/**
*
* @author liang.li
*
*/
public interface MessageHandler {
public void init(Configuration config);
public boolean handle(T message);
}