Package | Description |
---|---|
io.vertx.proton.streams |
Modifier and Type | Method and Description |
---|---|
ProtonPublisherOptions |
ProtonPublisherOptions.setDurable(boolean durable)
Sets whether the link to be used for the subscription should
have 'source' terminus details indicating it is durable, that
is a terminus-expiry-policy of "never" and terminus-durability
of 2/unsettled-state, and that the link should detach rather than
close when cancel is called on the subscription.
|
ProtonPublisherOptions |
ProtonPublisherOptions.setDynamic(boolean dynamic)
Sets whether the link to be used for the subscription should indicate
a 'dynamic' source terminus, requesting the server peer names it with
a dynamic address.
|
ProtonPublisherOptions |
ProtonPublisherOptions.setGlobal(boolean global)
Sets whether the link to be used for a shared subscription should
also have 'source' terminus capability indicating it is 'global',
that is its subscription can be shared across connections
regardless of their container-id values.
|
ProtonPublisherOptions |
ProtonPublisherOptions.setLinkName(String linkName)
Sets the link name to be used for the subscription.
|
ProtonPublisherOptions |
ProtonPublisherOptions.setMaxOutstandingCredit(int maxOutstandingCredit)
Sets the maximum credit the consumer link will leave outstanding at a time.
|
ProtonPublisherOptions |
ProtonPublisherOptions.setShared(boolean shared)
Sets whether the link to be used for the subscription should
have 'source' terminus capability indicating it is 'shared'.
|
Modifier and Type | Method and Description |
---|---|
static ProtonPublisher<org.apache.qpid.proton.message.Message> |
ProtonStreams.createConsumer(ProtonConnection connection,
String address,
ProtonPublisherOptions options)
Creates an AMQP consumer, presented as a reactive streams
Publisher . |
static ProtonPublisher<Delivery> |
ProtonStreams.createDeliveryConsumer(ProtonConnection connection,
String address,
ProtonPublisherOptions options)
Creates an AMQP consumer, presented as a reactive streams
Publisher . |
Copyright © 2020 Eclipse. All rights reserved.