Giter Site home page Giter Site logo

amq-docker's Introduction

amq-docker

This project builds a docker container for running Apache ActiveMQ message broker. It can be also used to form clusters of activeMQ brokers. Multiple protocols are supported i.e. MQTT, AMQP 1.0, Openwire and web sockets

Try it out

I haven't as yet added this to the Docker Repository so you'll have to follow the instructions for building it locally.

Once installed you should be able to try it out via

docker run -P -d -t amq:amq

You can also add network connectors by using the --link argument when running the container. The duplex and TTL settings for these network connectors can also be set using --env variables.

For example the following code will setup and network of four activemq brokers capable of passing message back and forth

amq1<-------|

         amq-central<----->amq3 

amq2<-------|

docker run  -d -P --name amq1 --env NC_DUPLEX=true --env NC_TTL=5 amq:amq

docker run  -d -P --name amq2 --env NC_DUPLEX=true --env NC_TTL=5 amq:amq

docker run  -d -P --name amq-central --link amq1:east1 --link amq2:east2  --env NC_DUPLEX=true --env NC_TTL=5 amq:amq

docker run  -d -P --name amq3  --link amq-central:central --env NC_DUPLEX=true --env NC_TTL=5 amq:amq

There is no security settings configured on the ActiveMQ brokers

Building the docker container locally

Once you have installed docker you should be able to create the containers via the following:

git clone https://github.com/noelo/amq-docker.git

docker build -t amq:amq .

amq-docker's People

Contributors

daniyalj avatar noelo 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.