public interface Context
Contextis used for organizing communications between applications and a Solace appliance. Each client application must use a minimum of one Context. A Context acts as a container for configuring one or more
Sessions and handling Session-related events. It encapsulates threads that drive Network I/O and message delivery notification for the Sessions and Session components associated with that Context. Context properties are used to dictate the behavior of a Context. If no specific Context properties are specified, the default values are used. Once created, a Context is automatically started. The API contains a default Context, which is created at initialization time, and can be accessed through
JCSMPFactory.getDefaultContext(). New contexts are acquired from
|Modifier and Type||Method and Description|
Closes all sessions in this context and signals Context threads to shutdown.
Copyright 2004-2023 Solace Corporation. All rights reserved.