
co.spraybot.messagerunner.Courier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of message-runner Show documentation
Show all versions of message-runner Show documentation
A micro-framework to allow easily passing specific Vert.x messages to specific addresses for processing of those messages.
The newest version!
package co.spraybot.messagerunner;
import io.vertx.core.Future;
import io.vertx.core.Verticle;
import io.vertx.core.eventbus.Message;
/**
* A primary entry-point for Parcels to be delivered and eventually forwarded to a ParcelProcessor.
*
* @since 0.1.0
*/
public interface Courier extends Verticle {
/**
* @return The EventBus address that this Courier will receive Parcels on
*/
String getAddress();
/**
* @param parcel The Parcel implementation that should be forwarded to a ParcelProcessor
*/
void send(Message extends Parcel> parcel);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy