tree: fa923f3e5635cf268c03ccf35a2df06b9a38b0b5 [path history] [tgz]
  1. bridge/
  2. broker-plugin/
  3. browser/
  4. cdi/
  5. client-kickoff/
  6. consumer-rate-limit/
  7. dead-letter/
  8. delayed-redelivery/
  9. divert/
  10. durable-subscription/
  11. embedded/
  12. embedded-simple/
  13. expiry/
  14. http-transport/
  15. instantiate-connection-factory/
  16. interceptor/
  17. interceptor-client/
  18. interceptor-client-amqp/
  19. interceptor-client-mqtt/
  20. jms-auto-closeable/
  21. jms-bridge/
  22. jms-completion-listener/
  23. jms-context/
  24. jms-shared-consumer/
  25. jmx/
  26. jmx-ssl/
  27. large-message/
  28. last-value-queue/
  29. management/
  30. management-notifications/
  31. message-counters/
  32. message-group/
  33. message-group2/
  34. message-priority/
  35. no-consumer-buffering/
  36. paging/
  37. pre-acknowledge/
  38. producer-rate-limit/
  39. queue/
  40. queue-requestor/
  41. queue-selector/
  42. reattach-node/
  43. request-reply/
  44. rest/
  45. scheduled-message/
  46. security/
  47. security-ldap/
  48. send-acknowledgements/
  49. spring-integration/
  50. ssl-enabled/
  51. ssl-enabled-dual-authentication/
  52. static-selector/
  53. temp-queue/
  54. topic/
  55. topic-hierarchies/
  56. topic-selector-example1/
  57. topic-selector-example2/
  58. transactional/
  59. xa-heuristic/
  60. xa-receive/
  61. xa-send/
  62. pom.xml
  63. README.md
examples/features/standard/README.md

Running the ActiveMQ Artemis Examples

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

mvn verify

Most examples offer a way to start them without creating and starting the server (say if you want to do it manually)

mvn verify -PnoServer

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 -Pexamples 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"

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