Camel Spring Boot app that monitors the A-MQ on OpenShift PersistentVolume and drains messages when a broker is decommissioned (scaled down).
It is assumed that:
- OpenShift platform is already running, if not you can find details how to Install OpenShift at your site.
- Your system is configured for Fabric8 Maven Workflow, if not you can find a Get Started Guide
The example can be built and run on OpenShift using a single goal:
$ cd $PROJECT_ROOT
$ mvn fabric8:deploy -Dbroker.claimName=<MY_BROKER_PVC_NAME>