pverge2112 / amq-online-hackfest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMQ Online Hackfest

This repository contains resources used in the AMQ Online Hackfest.

Scenarios

The Hackfest is prepared with 2 scenarios that highlight important use cases for AMQ Online:

Installing AMQ Online

The templates folder contains all the YAML files you need to install AMQ Online. Look at the AMQ Online documentation for instructions on how to install AMQ Online:

Installing plans

We provide example configs and plans for AMQ Online to be used as a starting point for the scenarios. These can be found in the plans folder. Once AMQ Online is installed, they can be applied by running:

oc apply -f plans

Run the following commands to verify that they are installed:

oc get standardinfraconfigs
oc get brokeredinfraconfigs
oc get addressspaceplans
oc get addressplans

Example clients

Provided are examples you can use as base for your client code to access AMQ Online. Any client supporting the standard protocols used by AMQ Online (AMQP, MQTT etc), so these clients should only be considered an example of the different ways you can retrieve endpoint information and access the endpoints automatically.

There are currently 2 Java-based clients:

  • vertx-example-client - Vert.X based client configured using a properties file, shows how to access EnMasse externally
  • jms-example-client - JMS-based configured to read AddressSpace info and use service account for authentication.

Both examples come with resources that you deploy to provision messaging.

Uninstalling

oc delete rolebindings -l app=enmasse -n kube-system
oc delete clusterrolebindings -l app=enmasse
oc delete crd -l app=enmasse
oc delete clusterroles -l app=enmasse
oc delete apiservices -l app=enmasse
oc delete oauthclients -l app=enmasse
oc delete project amq-online-infra

About


Languages

Language:Java 90.8%Language:Shell 9.2%