activemq-artemis/examples/jms
Martyn Taylor 1ae6f5da3e Merge PR #160 2015-03-09 11:22:31 +00:00
..
activemq-jms-examples-common [maven-release-plugin] prepare for next development iteration 2015-03-06 16:31:03 +00:00
activemq-ra-rar fixing snapshot dependencies after the release 2015-03-06 16:53:36 -05:00
aerogear added examples to release profile 2015-03-08 13:34:02 +00:00
application-layer-failover added examples to release profile 2015-03-08 13:34:02 +00:00
bridge added examples to release profile 2015-03-08 13:34:02 +00:00
browser added examples to release profile 2015-03-08 13:34:02 +00:00
client-kickoff added examples to release profile 2015-03-08 13:34:02 +00:00
client-side-failoverlistener added examples to release profile 2015-03-08 13:34:02 +00:00
client-side-load-balancing added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-durable-subscription added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-grouping added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-jgroups added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-queue added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-standalone added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-static-discovery added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-static-oneway added examples to release profile 2015-03-08 13:34:02 +00:00
clustered-topic added examples to release profile 2015-03-08 13:34:02 +00:00
colocated-failover added examples to release profile 2015-03-08 13:34:02 +00:00
colocated-failover-scale-down added examples to release profile 2015-03-08 13:34:02 +00:00
consumer-rate-limit added examples to release profile 2015-03-08 13:34:02 +00:00
dead-letter added examples to release profile 2015-03-08 13:34:02 +00:00
delayed-redelivery added examples to release profile 2015-03-08 13:34:02 +00:00
divert added examples to release profile 2015-03-08 13:34:02 +00:00
durable-subscription added examples to release profile 2015-03-08 13:34:02 +00:00
embedded added examples to release profile 2015-03-08 13:34:02 +00:00
embedded-simple added examples to release profile 2015-03-08 13:34:02 +00:00
expiry added examples to release profile 2015-03-08 13:34:02 +00:00
ha-policy-autobackup added examples to release profile 2015-03-08 13:34:02 +00:00
http-transport added examples to release profile 2015-03-08 13:34:02 +00:00
instantiate-connection-factory added examples to release profile 2015-03-08 13:34:02 +00:00
interceptor added examples to release profile 2015-03-08 13:34:02 +00:00
jms-auto-closeable added examples to release profile 2015-03-08 13:34:02 +00:00
jms-bridge added examples to release profile 2015-03-08 13:34:02 +00:00
jms-completion-listener added examples to release profile 2015-03-08 13:34:02 +00:00
jms-context added examples to release profile 2015-03-08 13:34:02 +00:00
jms-shared-consumer added examples to release profile 2015-03-08 13:34:02 +00:00
jmx added examples to release profile 2015-03-08 13:34:02 +00:00
large-message added examples to release profile 2015-03-08 13:34:02 +00:00
last-value-queue added examples to release profile 2015-03-08 13:34:02 +00:00
management added examples to release profile 2015-03-08 13:34:02 +00:00
management-notifications added examples to release profile 2015-03-08 13:34:02 +00:00
message-counters added examples to release profile 2015-03-08 13:34:02 +00:00
message-group added examples to release profile 2015-03-08 13:34:02 +00:00
message-group2 added examples to release profile 2015-03-08 13:34:02 +00:00
message-priority added examples to release profile 2015-03-08 13:34:02 +00:00
multiple-failover added examples to release profile 2015-03-08 13:34:02 +00:00
multiple-failover-failback added examples to release profile 2015-03-08 13:34:02 +00:00
no-consumer-buffering added examples to release profile 2015-03-08 13:34:02 +00:00
non-transaction-failover added examples to release profile 2015-03-08 13:34:02 +00:00
openwire added examples to release profile 2015-03-08 13:34:02 +00:00
paging added examples to release profile 2015-03-08 13:34:02 +00:00
perf added examples to release profile 2015-03-08 13:34:02 +00:00
pre-acknowledge added examples to release profile 2015-03-08 13:34:02 +00:00
producer-rate-limit added examples to release profile 2015-03-08 13:34:02 +00:00
proton-cpp added examples to release profile 2015-03-08 13:34:02 +00:00
proton-j added examples to release profile 2015-03-08 13:34:02 +00:00
proton-ruby added examples to release profile 2015-03-08 13:34:02 +00:00
queue added examples to release profile 2015-03-08 13:34:02 +00:00
queue-message-redistribution added examples to release profile 2015-03-08 13:34:02 +00:00
queue-requestor added examples to release profile 2015-03-08 13:34:02 +00:00
queue-selector added examples to release profile 2015-03-08 13:34:02 +00:00
reattach-node added examples to release profile 2015-03-08 13:34:02 +00:00
replicated-failback added examples to release profile 2015-03-08 13:34:02 +00:00
replicated-failback-static added examples to release profile 2015-03-08 13:34:02 +00:00
replicated-multiple-failover added examples to release profile 2015-03-08 13:34:02 +00:00
replicated-transaction-failover added examples to release profile 2015-03-08 13:34:02 +00:00
request-reply added examples to release profile 2015-03-08 13:34:02 +00:00
rest added examples to release profile 2015-03-08 13:34:02 +00:00
scale-down added examples to release profile 2015-03-08 13:34:02 +00:00
scheduled-message added examples to release profile 2015-03-08 13:34:02 +00:00
security added examples to release profile 2015-03-08 13:34:02 +00:00
send-acknowledgements added examples to release profile 2015-03-08 13:34:02 +00:00
spring-integration added examples to release profile 2015-03-08 13:34:02 +00:00
ssl-enabled added examples to release profile 2015-03-08 13:34:02 +00:00
static-selector added examples to release profile 2015-03-08 13:34:02 +00:00
static-selector-jms added examples to release profile 2015-03-08 13:34:02 +00:00
stomp Merge PR #160 2015-03-09 11:22:31 +00:00
stomp-websockets added examples to release profile 2015-03-08 13:34:02 +00:00
stomp1.1 added examples to release profile 2015-03-08 13:34:02 +00:00
stomp1.2 added examples to release profile 2015-03-08 13:34:02 +00:00
stop-server-failover added examples to release profile 2015-03-08 13:34:02 +00:00
symmetric-cluster added examples to release profile 2015-03-08 13:34:02 +00:00
temp-queue added examples to release profile 2015-03-08 13:34:02 +00:00
topic added examples to release profile 2015-03-08 13:34:02 +00:00
topic-hierarchies added examples to release profile 2015-03-08 13:34:02 +00:00
topic-selector-example1 added examples to release profile 2015-03-08 13:34:02 +00:00
topic-selector-example2 added examples to release profile 2015-03-08 13:34:02 +00:00
transaction-failover added examples to release profile 2015-03-08 13:34:02 +00:00
transactional added examples to release profile 2015-03-08 13:34:02 +00:00
xa-heuristic added examples to release profile 2015-03-08 13:34:02 +00:00
xa-receive added examples to release profile 2015-03-08 13:34:02 +00:00
xa-send added examples to release profile 2015-03-08 13:34:02 +00:00
README.md added examples to release profile 2015-03-08 13:34:02 +00:00
pom.xml added examples to release profile 2015-03-08 13:34:02 +00:00

README.md

Running the ActiveMQ Examples

To run an individual example firstly cd into the example directory and run

mvn verify -Pexample

If you are running against an un released version, i.e. from master branch, you will have to run mvn install on the root pom.xml and the example/activemq-jms-examples-common/pom.xml first.

If you want to run all the examples (except those that need to be run standalone) you can run mvn verify -Pexample in the examples directory but before you do you will need to up the memory used by running:

export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"

To run the javaee examples follow the instructions in examples/javaee/README.md

Recreating the examples

If you are trying to copy the examples somewhere else and modifying them. Consider asking Maven to explicitly list all the dependencies:

# if trying to modify the 'topic' example:
cd examples/jms/topic && mvn dependency:list