Initializing and Monitoring the Solace Java RTO API

This section describes how to initialize the Solace Java RTO API and provides information for using API logging and session statistics.

Initializing the Solace Java RTO API

To work with the Solace Java RTO API, it must first be initialized.

Call Solclient.init(...) to initialize the Solace Java RTO API. When the API is initialized, you can optionally set the initial log level filter for all log categories so that only logs at a specified level and more severe are emitted. (For more information on logging levels, see Configuring Logging.)

You can also set the global buffer sizes for the memory pools that are used to temporarily save messages in the application space (see Modifying the Global Pool Buffer Sizes).

Related Samples

For an example of how to initialize the Solace Java RTO API, see the DirectPubSub sample for the API.

Cleanup

For the Solace Java RTO API, cleanup is not applicable as the API does not require explicit cleanup operations.