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

co.spraybot.messagerunner.Courier Maven / Gradle / Ivy

Go to download

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 parcel);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy