Channel
instead.@Qualifier @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR,FIELD,PARAMETER}) @Deprecated public @interface Channel
This qualifier can be used to inject a Channel 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 @Channel("my-channel") Emitter<String> emitter;
// ...
emitter.send("a");
public abstract String value
Copyright © 2018–2021 SmallRye. All rights reserved.