Developing JCSMP Applications Using AI

Solace provides an agent plugin that helps you build Solace Messaging API for JCSMP applications with AI coding assistants, such as Claude Code. The plugin contains skills that allow you to describe the application you want, and your AI assistant designs and implements it, following Solace best practices based on the Solace documentation.

These skills are powered by large language models (LLMs), which are nondeterministic and may change over time. Generated code can vary between runs and may be incorrect, insecure, incomplete, or unsuitable for your environment. You are responsible for reviewing, testing, and validating all generated code before use, especially before deploying to production.

To start building JCSMP applications, perform these steps:

  1. Set up an event broker. Solace recommends using an event broker service. For more information, see Try Solace Event Brokers.

  2. Install the plugin for the Solace JCSMP API from SolaceProducts/agent-plugins.

    When you use the plugin, it automatically adds the Solace JCSMP API to your Java project if the API is not already present, such as in a new project.

After setup, open a project where you want to build a Solace JCSMP API application and ask your AI assistant for help. For example, you can prompt:

Design a Solace application that publishes order events to a topic.

For more information, see the SolaceProducts/agent-plugins repository on GitHub.