The Solace PubSub+ Messaging API for Java (JCSMP), version 10.20, uses the Java Content Subscription Management Protocol (JCSMP) and is a 100% pure Java implementation. This API delivers message-throughput with low-latency using legacy Java language features and programming models. All applications that utilize this classic Java API continue to function and are supported. You can continue to use this classic Java API to build new messaging applications, however, if you want to use a Java API that utilizes modern interfaces, patterns, and programming models, consider using the Java API.
Message Exchange Patterns
The PubSub+ Messaging API for Java (JCSMP) supports all common message exchange patterns.
- Publish / Subscribe
- Request / Reply
For more information, see Message Exchange Patterns.
For the list of features that are supported for the PubSub+ Messaging API for JCSMP, see the JCSMP column in the table in Feature Support in PubSub+ Messaging APIs.
These tutorials introduce you to how to develop applications using the PubSub+ Messaging API for Java (JCSMP) for common messaging requirements, and they will get you up-to-speed and sending messages with Solace PubSub+ as quickly as possible. They cover pub/sub, message persistence, request/reply, and more.
There are three ways you can get started using a PubSub+ event broker:
- If you have PubSub+ event brokers already deployed, obtain the hostname or IP address of an event broker to test against, a username and password to access it, and a Message VPN in which you can produce and consume messages.
- You can set up a software event broker as a container or machine image. For more information, see one of the following:
- You can spin up an event broker service, which is a SaaS-based software event broker running in PubSub+ Cloud.
But, before you begin, consider watching this video where our Developer Advocate, demonstrates how quickly you can get started with Solace's JCSMP Samples.
JCSMP API Reference
Click below to access the reference for the Solace PubSub+ Messaging API for Java (JCSMP).
JCSMP API Release Notes
Click below to download the latest release notes for the Solace PubSub+ Messaging API for Java (JCSMP).