SetContext

Overwrites the current context properties with the new context properties.

Syntax

public void setContext(Map map) 

Parameters

  • The new context map that will replace the current context map.

Results

None.

Example

Map context = new Map ();
...
message.setContext(context);