Uses of Interface
com.tick42.glue.core.bus.BusMessageHandler
Packages that use BusMessageHandler
-
Uses of BusMessageHandler in com.tick42.glue.core.bus
Subinterfaces of BusMessageHandler in com.tick42.glue.core.busModifier and TypeInterfaceDescriptionstatic interfaceA convenient specialization ofBusMessageHandlerthat accepts only the data argument.static interfaceA convenient specialization ofBusMessageHandlerthat accepts only the event argument.Methods in com.tick42.glue.core.bus that return BusMessageHandlerModifier and TypeMethodDescriptionstatic <T> BusMessageHandler<T> BusMessageHandler.data(BusMessageHandler.Data<T> handler) Simplifies code when you have lambda or method reference that accepts <T>.static <T> BusMessageHandler<T> BusMessageHandler.event(BusMessageHandler.Event<T> handler) Simplifies code when you have lambda or method reference that acceptsBusEvent<T>.Methods in com.tick42.glue.core.bus with parameters of type BusMessageHandlerModifier and TypeMethodDescriptiondefault <T> CompletionStage<Subscription> Bus.subscribe(String topic, BusMessageHandler<T> handler) Subscribes for all messages on specified topic.Bus.subscribe(String topic, BusMessageHandler<T> handler, MessageOptions options) Subscribes for messages on specified topic and optionally routing key and/or target.