/** * Get the unique identifier attached to this message for reply matching * * @return the correlation identifier */ public String getCorrelationId() { return _record.getSimpleField(Attributes.CORRELATION_ID.toString()); }
/** * Set a unique identifier that others can use to refer to this message in replies * * @param correlationId a unique identifier, usually randomly generated */ public void setCorrelationId(String correlationId) { _record.setSimpleField(Attributes.CORRELATION_ID.toString(), correlationId); }