Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Updated read me info
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Jul 31, 2016
1 parent f05b657 commit 70f0c75
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Build Status](https://travis-ci.org/garethahealy/jboss-amq-7-poc.svg?branch=master)](https://travis-ci.org/garethahealy/jboss-amq-7-poc)

# jboss-amq-7-poc
Collection of internal/public docs which i found.
Collection of internal/public docs which i found:

- https://mojo.redhat.com/docs/DOC-1077802
- https://mojo.redhat.com/docs/DOC-1071615
Expand All @@ -19,3 +19,25 @@ PoC looking into the new JBoss AMQ7 Broker (https://github.com/apache/activemq-a

### 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
2. Routed via either the Iceland or Japan interconnect to the Europe interconnect
3. 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
6 changes: 4 additions & 2 deletions broker-vagrant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ Image to run JBoss AMQ 7 Alpha HA brokers

## How to run
- vagrant up
- vagrant ssh brokerusa
- vagrant ssh brokereu
- vagrant ssh brokerusamaster
- vagrant ssh brokerusaslave
- vagrant ssh brokereumaster
- vagrant ssh brokereuslave

## Web URLS for hawt.io
U: admin / P: admin
Expand Down
13 changes: 13 additions & 0 deletions interconnect-vagrant/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# interconnect-vagrant
Image to run JBoss AMQ 7 Interconnect

## What does this image do?
- Creates 4 VMs (USA, Iceland, Europe and Japan). Each VM has a interconnect running, which is connected to other interconnects to their geographical left and right.
- Installs and starts JBoss AMQ 7 Interconnect

## How to run
- vagrant up
- vagrant ssh interconnectdispatchusa
- vagrant ssh interconnectdispatcheu
- vagrant ssh interconnectdispatchice
- vagrant ssh interconnectdispatchjap

0 comments on commit 70f0c75

Please sign in to comment.