Giter Site home page Giter Site logo

ghaithdallaali / solace-samples-mqtt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solacesamples/solace-samples-mqtt

0.0 1.0 0.0 254 KB

Home Page: https://solacesamples.github.io/solace-samples-mqtt/

License: Apache License 2.0

Java 100.00%

solace-samples-mqtt's Introduction

Getting Started Examples

MQ Telemetry Transport (MQTT)

MQTT is a standard lightweight protocol for sending and receiving messages. As such, in addition to information provided on the Solace developer portal, you may also look at some external sources for more details about MQTT. The following are good places to start

These tutorials will get you up to speed and sending messages with Solace technology as quickly as possible. There are two ways you can get a Solace Message Router:

  • 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.
  • If you do not have access to a Solace message router, you will need to go through the โ€œSet up a VMRโ€ tutorial to download and install the software.

Contents

This repository contains code and matching tutorial walk throughs for different basic scenarios. It is best to view the associated tutorials home page.

Prerequisites

There are no prerequisites.

Build the Samples

./gradlew build

Running the Samples

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

./build/staged/bin/topicPublisher <HOST>

See the individual tutorials linked from the tutorials home page for full details which can walk you through the samples, what they do, and how to correctly run them to explore MQTT.

Exploring the Samples

Setting up your preferred IDE

Using a modern Java IDE provides cool productivity features like auto-completion, on-the-fly compilation, assisted refactoring and debugging which can be useful when you're exploring the samples and even modifying the samples. Follow the steps below for your preferred IDE.

Using Eclipse

To generate Eclipse metadata (.classpath and .project files), do the following:

./gradlew eclipse

Once complete, you may then import the projects into Eclipse as usual:

File -> Import -> Existing projects into workspace

Browse to the 'solace-samples-java' root directory. All projects should import free of errors.

Using IntelliJ IDEA

To generate IDEA metadata (.iml and .ipr files), do the following:

./gradlew idea

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 try these resources:

solace-samples-mqtt's People

Contributors

brandonto avatar ghaithdallaali avatar griffingarland avatar mdspielman avatar

Watchers

 avatar

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.