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

io.smallrye.reactive.messaging.annotations.Merge Maven / Gradle / Ivy

There is a newer version: 4.26.0
Show newest version
package io.smallrye.reactive.messaging.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Temporary annotation - must be copied to spec.
 * 

* Indicate the an {@code @Incoming} is connected to several upstream sources and merge the content according to the given * policy. */ @Retention(RetentionPolicy.RUNTIME) public @interface Merge { enum Mode { /** * Pick the first source and use only this one. */ ONE, /** * Merge the different sources. This strategy emits the items as they come. */ MERGE, /** * Concat the sources. */ CONCAT } Mode value() default Mode.MERGE; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy