Giter Club home page Giter Club logo

solace-samples-c's Introduction

Getting Started Examples

Solace C API

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.

Contents

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.

Prerequisites

On Linux/Mac

  • gcc compiler

On Windows

  • Visual Studio 2008 and above. (Tested on VS2008/2010/2013/2015)
    (Note: To build 64-bit sample apps, please make sure that the x64 compiler is installed)
  • VS2008 redistributable installed. (For non-static build)

Checking out and Building

To check out the project and build it, do the following:

  1. git clone this GitHub repository
  2. cd solace-samples-c

Build the Samples

  1. cd build

  2. On Linux:

    build$ ./build_intro_linux_xxx.sh

Note: it s important to set the environment on Linux, see in next step Running the Samples.

  1. On Mac:
    build$ ./build_intro_mac_xxx.sh
  1. 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 to build\intro\win\VS2008 and double-click on intro.sln.
    To build from DOS prompt, you must launch the appropriate Visual Studio Command Prompt and then run the build_intro_win_xxx.bat

Running the Samples

To try individual samples, build the project from source and then run samples like the following:

  1. cd ../bin

  2. On Linux:

    bin$ source ./setenv.sh
    bin$ ./TopicPublisher
  1. On Mac and Windows, you can run the sample app straight-away.

See the tutorials for more details.

Contributing

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the Apache License, Version 2.0. - See the LICENSE file for details.

Resources

For more information try these resources:

solace-samples-c's People

Contributors

alyrasmy avatar arshrai17 avatar bczoma avatar evenjessie avatar macstewart avatar mdspielman avatar natmay1 avatar ragnarpaulson avatar thrillstone avatar tjkjohn avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

byetman-solace

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.