For example, a JMS receiver stores the JMS correlation ID, so the call looks like:
ResponseCorrelation respCorrel = new ResponseCorrelation() respCorrel.set (CORREL_ID_STRING, correlID);
Multiple types of information might need to be stored, depending on the transport type.
The interface provides the following methods:set
Sets serializable key and data
public Object set(Serializable key, Serializable value) throws NullPointerException
get
Gets serializable data of the serializable key
public Object get(Serializable key)