public interface Tracker
Modifier and Type | Method and Description |
---|---|
static Tracker |
create(org.apache.qpid.proton.message.Message message)
Creates a tracker for sending a message.
|
static Tracker |
create(org.apache.qpid.proton.message.Message message,
io.vertx.core.Handler<Tracker> onUpdated)
Creates a tracker for sending a message, providing a handler that is
called when disposition updates are received for the message delivery.
|
org.apache.qpid.proton.amqp.transport.DeliveryState |
getRemoteState()
Gets the current remote state for the delivery.
|
boolean |
isAccepted()
Returns whether the message was accepted.
|
boolean |
isRemotelySettled()
Returns whether the message was settled by the peer.
|
org.apache.qpid.proton.message.Message |
message()
Retrieves the message being tracked.
|
static Tracker create(org.apache.qpid.proton.message.Message message)
message
- the messagestatic Tracker create(org.apache.qpid.proton.message.Message message, io.vertx.core.Handler<Tracker> onUpdated)
message
- the messageonUpdated
- the onUpdated handlerorg.apache.qpid.proton.message.Message message()
boolean isAccepted()
boolean isRemotelySettled()
org.apache.qpid.proton.amqp.transport.DeliveryState getRemoteState()
Copyright © 2021 Eclipse. All rights reserved.