Giter Site home page Giter Site logo

solacesamples / solace-samples-openmama Goto Github PK

View Code? Open in Web Editor NEW
18.0 6.0 5.0 707 KB

Tutorials for the Solace Transport Bridge of OpenMAMA

Home Page: http://dev.solace.com/get-started/openmama-tutorials/

License: Apache License 2.0

C 100.00%
solace solace-samples openmama

solace-samples-openmama's Introduction

Getting Started Examples

Solace Messaging with OpenMAMA

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 through to get you started with OpenMAMA and the Solace transport bridge. For a nice introduction to the OpenMAMA with Solace, check out the tutorials landing page.

See the individual tutorials for details:

Checking out and Building

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

  1. clone this GitHub repository
  2. cd solace-samples-openmama

Hello World

  1. cd helloworld

To build on Linux, assuming OpenMAMA installed into /opt/openmama:

$ gcc -o topicPublishOne topicPublishOne.c -I/opt/openmama/include -L/opt/openmama/lib -lmama

To build on Windows, assuming OpenMAMA is at <openmama> directory:

$ cl topicPublishOne.c /I<openmama>\mama\c_cpp\src\c /I<openmama>\common\c_cpp\src\c\windows -I<openmama>\common\c_cpp\src\c <openmama>\Debug\libmamacmdd.lib

Publish/Subscribe

  1. cd pubsub

To build on Linux, assuming OpenMAMA installed into /opt/openmama:

$ gcc -o topicPublishOne topicPublishOne.c -I/opt/openmama/include -L/opt/openmama/lib -lmama

To build on Windows, assuming OpenMAMA is at <openmama> directory:

$ cl topicPublishOne.c /I<openmama>\mama\c_cpp\src\c /I<openmama>\common\c_cpp\src\c\windows -I<openmama>\common\c_cpp\src\c <openmama>\Debug\libmamacmdd.lib

Running the Samples

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

On Linux:

$ ./topicPublishOne

On Windows:

$ topicPublishOne.exe

The individual tutorials linked above provide full details which can walk you through the samples, what they do, and how to correctly run them to explore Solace messaging.

Contributing

Please read CONTRIBUTING.md 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 about OpenMAMA:

For more information about Solace technology:

solace-samples-openmama's People

Contributors

alyrasmy avatar arshrai17 avatar evenjessie avatar macstewart avatar mdspielman avatar mrc0113 avatar tamimigithub avatar thrillstone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

solace-samples-openmama's Issues

Move gh-pages to docs subdirectory

In order to facilitate various branching strategies we may need as we release updates samples to match new Solace Messaging for PCF releases, it would be good to take advantage of the new GitHub pages feature of hosting in the docs subdirectory.

Missing SVGs

Missing:

  1. "Installation on linux" card SVG
  2. "Solace Hello World" card SVG

screen shot 2017-10-16 at 5 57 46 pm

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.