C API

The Solace Messaging API for C, version 7.33.0 (also referred to as SolClient), is specifically designed to provide high message throughput and low latency with the lowest CPU utilization possible. In addition to the common Enterprise API features, the Solace C API enables fine-grained control of threading and message processing through additional features like:

  • Allows fine-tuning of API behavior, such as whether operations should be blocking or non-blocking in nature.
  • Allows for the option of application file descriptors to be monitored within the API, providing the application with callbacks for readable and writable events.
  • Allows for the option of the application taking over control of file descriptors created within the API to connect to event brokers, where the application must provide readable and writable events to the API.
  • Support for timer services.

Message Exchange Patterns

The Solace Messaging API for C supports all common message exchange patterns.

  • Publish / Subscribe
  • Point-to-Point
  • Request / Reply

For more information, see Message Exchange Patterns.

Features

For the list of features that are supported for the Solace Messaging API for C, see Feature Support in Solace Messaging APIs.

Support for Solaris/SunOS is now deprecated and the last release was v7.23.0 (September 2022). For more details, see the Deprecated Features list on the product lifecycle policy page.

Get Started

These tutorials introduce you to developing applications using the Solace Messaging API for C, and will get you up-to-speed and sending messages with Solace technology as quickly as possible. They cover common messaging requirements such as pub/sub.

There are three ways you can get started using a Solace event broker:

  1. If you have Solace 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.
  2. You can set up a software event broker as a container image. For more information, see Setting Up Container Images
  3. You can spin up an event broker service, which is a SaaS-based software event broker running in Solace Cloud.

Start Tutorials

C API Reference

Click below to access the developer reference for the Solace Messaging API for C.

C API Reference

C API Release Notes

Click below to download the latest release notes for the Solace Messaging API for C.

C API Release Notes