public class StreamEventRouter
extends reactor.event.routing.ConsumerFilteringEventRouter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_HEADER |
| Constructor and Description |
|---|
StreamEventRouter(reactor.filter.Filter filter,
reactor.event.routing.ConsumerInvoker consumerInvoker,
reactor.core.composable.Deferred<reactor.event.Event<?>,reactor.core.composable.Stream<reactor.event.Event<?>>> stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
route(java.lang.Object key,
reactor.event.Event<?> event,
java.util.List<reactor.event.registry.Registration<? extends reactor.function.Consumer<? extends reactor.event.Event<?>>>> consumers,
reactor.function.Consumer<?> completionConsumer,
reactor.function.Consumer<java.lang.Throwable> errorConsumer) |
public static final java.lang.String KEY_HEADER
public StreamEventRouter(reactor.filter.Filter filter,
reactor.event.routing.ConsumerInvoker consumerInvoker,
reactor.core.composable.Deferred<reactor.event.Event<?>,reactor.core.composable.Stream<reactor.event.Event<?>>> stream)
public void route(java.lang.Object key,
reactor.event.Event<?> event,
java.util.List<reactor.event.registry.Registration<? extends reactor.function.Consumer<? extends reactor.event.Event<?>>>> consumers,
reactor.function.Consumer<?> completionConsumer,
reactor.function.Consumer<java.lang.Throwable> errorConsumer)
route in interface reactor.event.routing.EventRouterroute in class reactor.event.routing.ConsumerFilteringEventRouter