This interface provides a generic way to persist information needed to sync up a request with a response when non-blocking synchronous processing has been invoked. It provides the following methods:
Method
set
Method description
Sets the sync-enabling data
Syntax
public Object set(Serializable key, Serializable value) throws NullPointerException
Parameters
ResponseCorrelation respCorrel = new ResponseCorrelation() respCorrel.set (CORREL_ID_STRING, correlID);
There might be multiple types of information that need to be stored, depending on the transport type.
Method
get
Method description
Retrieves the stored sync-enabling data
Syntax
public Object get(Serializable key)
Parameters