The "Getting Started" tutorials will get you up to speed and sending messages with Solace technology as quickly as possible. There are three ways you can get started:
- Follow these instructions to quickly spin up a cloud-based Solace messaging service for your applications.
- Follow these instructions to start the Solace VMR in leading Clouds, Container Platforms or Hypervisors. The tutorials outline where to download and how to install the Solace VMR.
- If your company has Solace message routers deployed, contact your middleware team to obtain the host name or IP address of a Solace message router to test against, a username and password to access it, and a VPN in which you can produce and consume messages.
This repository contains code and matching tutorial walk throughs for the basic Solace messaging patterns. For a nice introduction to the Solace API and associated tutorials, check out the tutorials home page.
- make
- gcc compiler
- musl
- musl-dev
- openssl
- openssl-dev
- libressl-dev
- gcc compiler
- Visual Studio 2015 and above. (Tested on VS2015/2019/2022)
To check out the project and build it, do the following:
git clone
this GitHub repositorycd solace-samples-c
-
cd build
-
On Alpine Linux:
build$ ./build_intro_linux_musl_x64.sh
- On Linux:
build$ ./build_intro_linux_xxx.sh
Note: it s important to set the environment on Alpine Linux and Linux, see in next step Running the Samples.
- On Mac:
build$ ./build_intro_mac_xxx.sh
- On Windows, you can either build the source code from Visual Studio IDE or from DOS command prompt.
To build from the IDE, you will need to go tobuild\intro\win\VS2015
and double-click onintro.sln
.
To build from DOS prompt, you must launch the appropriate Visual Studio Command Prompt and then run thebuild_intro_win_xxx.bat
To try individual samples, build the project from source and then run samples like the following:
-
cd ../bin
-
On Linux and Alpine-linux:
bin$ source ./setenv.sh
bin$ ./TopicPublisher
- On Mac and Windows, you can run the sample app straight-away.
See the tutorials for more details.
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.
See the list of contributors who participated in this project.
This project is licensed under the Apache License, Version 2.0. - See the LICENSE file for details.
For more information try these resources:
- The Solace Developer Portal website at: http://dev.solace.com
- Get a better understanding of Solace technology.
- Check out the Solace blog for other interesting discussions around Solace technology
- Ask the Solace community.