public interface Delivery
| Modifier and Type | Interface and Description |
|---|---|
static class |
Delivery.Type
Possible types of data that can be associated with this delivery.
|
| Modifier and Type | Method and Description |
|---|---|
void |
confirm()
Confirms receipt of this delivery.
|
Map<String,Object> |
getProperties() |
QOS |
getQOS() |
String |
getShare() |
String |
getTopic() |
String |
getTopicPattern() |
long |
getTtl() |
Delivery.Type |
getType() |
Delivery.Type getType()
BytesDelivery and
StringDelivery types.void confirm()
throws StateException
StateException - if confirmation is not applicable or required. This is the case if any of the following
conditions are true:
QOS.AT_MOST_ONCE.QOS getQOS()
String getShare()
null is returned if the destination
was not subscribed to with a share value.String getTopic()
String getTopicPattern()
long getTtl()
Copyright © 2019 International Business Machines Corporation. All rights reserved.