Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 596 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 596 Bytes

broker-run

A maven pom that will start an activemq instance in vm

MAVEN_OPTS define the jvm env

$> export MAVEN_OPTS="-Xmx2g -Xms2g -XX:+UseLargePages"

Start a broker

$> mvn -PbrokerPlugin

run a producer-consumer pair

$> mvn -Ppair

run a client to consume 10000 messages

$> mvn -Pclient -Drole=consumer

produce

$> mvn -Pclient -Drole=producer

Specifying the activemq version

You can specify the version of ActivMQ by passing -Dactivemq.version=5.11-SNAPSHOT

example: $> mvn -PbrokerPlugin -Dactivemq.version=5.11-SNAPSHOT