public class ContextProperties extends Object
Context
upon creation. To create a new
Context
, pass a configured ContextProperties
instance to JCSMPFactory.createContext(ContextProperties)
.Constructor and Description |
---|
ContextProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the
Context . |
ContextProperties |
reset()
Resets the state.
|
ContextProperties |
setName(String name)
Sets the name of the
Context . |
public String getName()
Context
.Context
name.public ContextProperties setName(String name)
Context
. If left as null
or the empty string, a name is automatically generated.name
- The Context
name to set.public final ContextProperties reset()
Copyright 2004-2024 Solace Corporation. All rights reserved.