Exemplo n.º 1
0
 /**
  * Sets a correlationId for this message. The correlation Id can be used by components in the
  * system to manage message relations.
  *
  * <p>The correlationId is associated with the message using the underlying transport protocol. As
  * such not all messages will support the notion of a correlationId i.e. tcp or file. In this
  * situation the correlation Id is set as a property of the message where it's up to developer to
  * keep the association with the message. For example if the message is serialised to xml the
  * correlationId will be available in the message.
  *
  * @return the correlationId for this message or null if one hasn't been set
  */
 public String getCorrelationId() {
   return adapter.getCorrelationId();
 }