Developing JCSMP Applications Using AI

Solace provides an agent plugin that can help you build Solace Messaging API for JCSMP applications using AI coding assistants, such as Claude Code. You describe the application you want, and your AI assistant designs and implements it following Solace best practices and knowledge grounded from the Solace documentation.

These skills are powered by large language models (LLMs), which are non-deterministic 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. The recommended option is an event broker service.For more information, see Try Solace Event Brokers.
  2. Install the plugin for the Solace JCSMP API. For details, see the SolaceProducts/agent-plugins repository on GitHub.

    The Solace JCSMP API will automatically be installed into your Java project when using the plugin if it is not already available or you are starting 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.