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

se.arkalix.core.plugin.ArEventSubscriptionHandler Maven / Gradle / Ivy

package se.arkalix.core.plugin;

import java.util.Map;

/**
 * An event receiver associated with a particular topic, a set of possible
 * publishing systems and a required set of metadata parameters.
 */
@FunctionalInterface
public interface ArEventSubscriptionHandler {
    /**
     * Called to notify this handler about the availability of a matching
     * event.
     *
     * @param metadata Metadata in event.
     * @param data     Data in event.
     */
    void onPublish(final Map metadata, final String data);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy