public interface ReactivePublisher
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<java.lang.Void> |
publish(PublishState publishState)
Publish the message with the provided arguments and return
a reactive type that completes successfully when the message
is published.
|
org.reactivestreams.Publisher<io.nats.client.Message> |
publishAndReply(PublishState publishState)
Publish the message with the provided arguments and return
a reactive type that completes successfully when the reply
is received from the reply to queue.
|
org.reactivestreams.Publisher<java.lang.Void> publish(PublishState publishState)
publishState
- The publishing dataorg.reactivestreams.Publisher<io.nats.client.Message> publishAndReply(PublishState publishState)
publishState
- The publishing data