Giter Site home page Giter Site logo

garethahealy / jboss-amq-7-poc Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 0.0 28 KB

[Archived] PoC for AMQ7 and Interconnect

License: Apache License 2.0

Ruby 64.80% Shell 35.20%
jboss-mq apache-activemq-artemis jms broker amqp apache-qpid-dispatch-router

jboss-amq-7-poc's Introduction

Build Status License

jboss-amq-7-poc

This repo was for my own self-learning. If you are interested in what is coming from RedHat HQ, please see:

Docs

Collection of internal/public docs which i found:

Whats this then boy-o?

PoC looking into the new JBoss AMQ7 Broker (https://github.com/apache/activemq-artemis) and JBoss AMQ7 Interconnect (https://github.com/apache/qpid-dispatch)

How to run

  • mvn clean install -Pdependencies
  • cd broker-vagrant && vagrant up
  • cd interconnect-vagrant && vagrant up

Why do i need to mvn clean install?

The vagrant file expects to find any pre-req files in your m2 directory.

I've up'ed it, now what?

If all brokers and interconnects have started, you now have a network of brokers.

1. TabWindow1: Connect to the USA broker: vagrant ssh brokerusamaster
2. TabWindow2: Connect to the EU Interconnect: vagrant ssh interconnectdispatcheu
3. TabWindow2: Start a consumer on Interconnect: python /usr/share/proton-0.13.0/examples/python/simple_recv.py -a /jms.queue.first -m 10
4. TabWindow1: Start a producer on the Broker: python /usr/share/proton-0.13.0/examples/python/simple_send.py -a 10.21.1.10:5672/jms.queue.first -m 10

If everything works, 10 messages will be:

1. Produced to the USA Broker and persisted
2. Routed via the USA interconnect to either...
3. ... the Iceland or Japan interconnect and ... 
4. Consumed from Europe interconnect

If you run the following on the interconnects, you will notice the stats change as messages are produced/consumed:

clear &&
sudo systemctl status qdrouterd.service &&
qdstat -a &&
qdstat -c &&
qdstat --linkroutes

jboss-amq-7-poc's People

Contributors

garethahealy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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