public class CorrelationData extends java.lang.Object implements Correlation
RabbitTemplate
methods that include one of
these as a parameter; when the publisher confirm is received,
the CorrelationData is returned with the ack/nack.Constructor and Description |
---|
CorrelationData()
Construct an instance with a null Id.
|
CorrelationData(java.lang.String id)
Construct an instance with the supplied id.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
void |
setId(java.lang.String id)
Set the correlation id.
|
java.lang.String |
toString() |
public CorrelationData()
public CorrelationData(java.lang.String id)
id
- the id.public java.lang.String getId()
public void setId(java.lang.String id)
MessagePostProcessor
after a
CorrelationData
with a 'null' correlation id has been passed into a
RabbitTemplate
.id
- the id.public java.lang.String toString()
toString
in class java.lang.Object