org.springframework.amqp.rabbit.support
Class CorrelationData
java.lang.Object
org.springframework.amqp.rabbit.support.CorrelationData
public class CorrelationData
- extends java.lang.Object
Base class for correlating publisher confirms to sent messages.
Use the RabbitTemplate methods that include one of
these as a parameter; when the publisher confirm is received,
the CorrelationData is returned with the ack/nack.
- Since:
- 1.0.1
|
Method Summary |
java.lang.String |
getId()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CorrelationData
public CorrelationData(java.lang.String id)
getId
public java.lang.String getId()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object