Exemple #1
0
 /**
  * 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());
 }
Exemple #2
0
 /**
  * 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);
 }