org.springframework.amqp.rabbit.support
Class CorrelationData

java.lang.Object
  extended by 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

Constructor Summary
CorrelationData(java.lang.String id)
           
 
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
 

Constructor Detail

CorrelationData

public CorrelationData(java.lang.String id)
Method Detail

getId

public java.lang.String getId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object