mQueue project was developed using Springboot to demonstrate efficient testing for Queues (ActiveMq & RabbitMq implemented within Docker).
Setup Instructions used to prepare the environment for program-execution.
FROM webcenter/activemq
LABEL Kudzai Sean Huni <[email protected]>
ENV ACTIVEMQ_CONFIG_MINMEMORY 512
ENV ACTIVEMQ_CONFIG_MAXMEMORY 2048
RUN apt-get install -y vim
cmd$ docker build -f Dockerfile -t activemq-img .
cmd$: docker run --name='activemq' -d -it -P activemq-img
Run the activemq docker instance from the activemq-img mapped to the dedicated published & random ports.
cmd$: docker run --name='activemq' -d -it -p 8081:8161 -p 8091:61616 -P activemq-img
FROM rabbitmq:latest
LABEL Kudzai Sean Huni <[email protected]>
ENV RABBITMQ_DEFAULT_USER admin
ENV RABBITMQ_DEFAULT_PASS admin
RUN apt-get update
cmd$: docker build -f Dockerfile -t rabbitmq-img .
cmd$: docker run --name='rabbitmq' -d -it -P rabbitmq-img
cmd$: docker run --name='rabbitmq' -d -it -p 8082:15672 -p 8092:5672 -P rabbitmq-img
Create sms queues both in activeMq & in RabbitMq.
FROM docker.bintray.io/jfrog/artifactory-oss:latest
LABEL Kudzai Sean Huni <[email protected]>
RUN apt-get update -y
docker build -f Dockerfile -t jfrog-img .
docker run --name='jfrog' -d -it -p 8083:8081 jfrog-img
On the web-console initialise gradle Jfrog plugin. username & password: admin
-
Remove cached file/folders:
-
cmd$:
git rm -r --cached --force ".idea/"