From a clean state(fresh disk)
- Post messages to the topic test.worker
- Consume and reject messages from queue sub.gtest.test.workorder
- Messages should go to the right wrong dead letter queue (ActiveMQ.DLQ)
- Modify openshift-activemq.xml by adding a new queue
- Push this change to the git repository (you need to clone this repo for this)
- Build a new Image
- Redo steps 1 & 2
- Now messages should go to the right queue sub.gtest.test.workorder.DLQ
oc new-app --template=amq63 --param=GIT_URI=https://gitlab.com/openshift-samples/amq63.git
oc delete all -l template=amq63 && oc delete pvc broker-amq-claim
oc import-image registry.access.redhat.com/jboss-amq-6/amq63-openshift:latest --confirm