SetContext
Overwrites the current context properties with the new context properties.
Syntax
void setContext(map<string , string> context)
void setContext(map< UnicodeString, UnicodeString > context)
Parameters
- The new context map to be used to replace the current context map
Example
map<string , string> context ;
//more code
message->setContext(context);
map< UnicodeString, UnicodeString > context ;
//more code
message->setContext(context);