Interface Message<PAYLOAD>

All Known Subinterfaces:
Message.Outbound<PAYLOAD>
All Known Implementing Classes:
Message.Outbound.Plain, Message.Plain

public interface Message<PAYLOAD>
  • Method Details

    • payload

      PAYLOAD payload()
    • acknowledge

      reactor.core.publisher.Mono<Void> acknowledge()
    • to

      default Message.Outbound<PAYLOAD> to(String to)
    • of

      static <PAYLOAD> Message<PAYLOAD> of(PAYLOAD payload)
    • of

      static <PAYLOAD> Message<PAYLOAD> of(PAYLOAD payload, reactor.core.publisher.Mono<Void> acknowledge)
    • map

      default <T> Message<T> map(Function<PAYLOAD,T> mapper)
    • handle

      default <T> org.reactivestreams.Publisher<Message<T>> handle(Function<PAYLOAD,? extends org.reactivestreams.Publisher<T>> handler)