public class PendingConfirm extends Object
CorrelationData
for
the client to correlate a confirm with a sent message.Constructor and Description |
---|
PendingConfirm(CorrelationData correlationData,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getCause() |
CorrelationData |
getCorrelationData()
The correlation data supplied by the client when sending the message
corresponding to this confirmation.
|
long |
getTimestamp() |
void |
setCause(String cause)
When the confirmation is nacked, set the cause when available.
|
String |
toString() |
public PendingConfirm(@Nullable CorrelationData correlationData, long timestamp)
correlationData
- The correlation data.timestamp
- The timestamp.@Nullable public CorrelationData getCorrelationData()
public long getTimestamp()
public void setCause(String cause)
cause
- The cause.