@Qualifier @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR,FIELD,PARAMETER}) public @interface Channel
This qualifier can be used to inject a stream containing the items and signals propagated by the specified
channel. For example, it can be used to @Inject a Publisher representing a channel managed by the
Reactive Messaging implementation.
Can be injected:
When this qualifier is used on an Emitter, it indicates which channel received the emitted values / signals:
@Inject @Stream("my-channel") Emitter<String> emitter;
// ...
emitter.send("a").send("b").complete();
public abstract String value
@Outgoing annotation.Copyright © 2018–2019 SmallRye. All rights reserved.