org.springframework.amqp.rabbit.support
Class PendingConfirm
java.lang.Object
org.springframework.amqp.rabbit.support.PendingConfirm
public class PendingConfirm
- extends java.lang.Object
Instances of this object track pending publisher confirms.
The timestamp allows the pending confirmation to be
expired. It also holds CorrelationData
for
the client to correlate a confirm with a sent message.
- Since:
- 1.0.1
- Author:
- Gary Russell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PendingConfirm
public PendingConfirm(CorrelationData correlationData,
long timestamp)
- Parameters:
correlationData
- timestamp
-
getCorrelationData
public CorrelationData getCorrelationData()
getTimestamp
public long getTimestamp()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object