Using the Solace JCSMP API with Solace Cache
If you have Solace Cache, you can use the Solace JCSMP API to make cache requests for topics. The cache requests must include the name of the Distributed Cache, Cache Cluster, or Solace Cache Instance to issue the request to and the topics requested.
Client applications can use the Solace JCSMP API to make cache requests for topics. The cache requests must include the name of the Distributed Cache, Cache Cluster, or Solace Cache Instance to issue the request to and the topics requested.
Cache requests made using the Solace JCSMP API can either be synchronous or asynchronous. If the request is synchronous, then the API call blocks until the response is received (or a time-out occurs).
If a cache request is made to a Distributed Cache or a Cache Cluster, the request is delivered to one of the Solace Cache Instances in a Cache Cluster that are configured to listen for the same topics, and that single Solace Cache Instance responds to the cache request.
Cache responses are addressed back to the originating client on an automatically generated peer-to-peer topic contained within the request.
The result of a cache request is indicated by return codes or events provided by the Cache Instance. Any messages that are returned for the request are handled through message receive callback or delegate associated with the session that the cache session is created in. For more information about configuring and details about Solace Cache, see Solace Cache.
For information about using the Solace JCSMP API with Solace Cache, see Using Solace Cache With the Solace JCSMP API