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

io.smallrye.reactive.messaging.providers.MetadataInjectableMessage Maven / Gradle / Ivy

package io.smallrye.reactive.messaging.providers;

import org.eclipse.microprofile.reactive.messaging.Message;

/**
 * Message type which enables injecting new metadata without creating a new {@link Message} instance
 *
 * @param  type of payload
 */
public interface MetadataInjectableMessage extends Message {

    /**
     * Inject the given metadata object
     *
     * @param metadataObject metadata object
     */
    void injectMetadata(Object metadataObject);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy