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

org.entur.pubsub.base.EnturGooglePubSubConsumer Maven / Gradle / Ivy

Go to download

Base configuration for Google PubSub clients, to be used for non-Camel clients. Camel-based clients should use camel-entur-google-pubsub instead.

There is a newer version: 3.0
Show newest version
package org.entur.pubsub.base;

import java.util.Map;

/**
 * Google PubSub message consumer.
 */
@FunctionalInterface
public interface EnturGooglePubSubConsumer {

    /**
     * Callback for PubSub message consumer, called upon message arrival.
     * @param content message content
     * @param headers message headers
     */
    void onMessage(byte[] content, Map headers);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy