@ProviderType public static class PersistentMessagePublisher.PublishReceipt extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
PubSubPlusClientException |
getException()
Gets exception if any, indicating failure case
|
OutboundMessage |
getMessage()
Retrieves message associated with a Receipt.
|
long |
getTimeStamp()
Retrieves the timestamp, number of milliseconds from the Epoch time (time since
1970-01-01T00:00:00Z).
|
Object |
getUserContext()
Retrieves the context associated with an action if provided during publishing.
|
boolean |
isPersisted()
Gets information if message reached a broker and persistence confirmation was received back.
|
String |
toString()
Converts the Publish Receipt to a string representation does not include
userContext . |
public PubSubPlusClientException getException()
public OutboundMessage getMessage()
public long getTimeStamp()
public Object getUserContext()
null
if there
is nonepublic boolean isPersisted()
false
public String toString()
userContext
.Copyright 2019-2024 Solace Corporation. All rights reserved.