From 40ba4aed2f91eff068100f9f52b5499fd1731b74 Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Mon, 9 Mar 2015 10:19:47 +0000 Subject: [PATCH] fixed example readme --- .../src/main/resources/examples/index.html | 40 ++++++ .../src/main/resources/index.html | 2 +- .../activemq/src/main/resources/README.html | 2 +- .../src/main/resources/examples/index.html | 122 ------------------ 4 files changed, 42 insertions(+), 124 deletions(-) create mode 100644 activemq-website/src/main/resources/examples/index.html delete mode 100644 distribution/activemq/src/main/resources/examples/index.html diff --git a/activemq-website/src/main/resources/examples/index.html b/activemq-website/src/main/resources/examples/index.html new file mode 100644 index 0000000000..a8ae835168 --- /dev/null +++ b/activemq-website/src/main/resources/examples/index.html @@ -0,0 +1,40 @@ + + +

Apache ActiveMQ Examples

+

JMS Examples

+

Apache ActiveMQ comes with over 90 runnable examples. These can be found in the examples directory in the root of the +distribution folder. There are examples covering JMS as well as all the protocols and functionality that Apache ActiveMQ +supports.

+ +

Each example has its own instructions as to how they can be run, but for most of them it is as simple as running +mvn verify -Pexample from the example directory. This will start a broker with the correct configuration, run the +example and then stop the broker. You'll need to ensure there is not a broker already running as this may conflict +with the broker that is configured and used in the example.

+ +

If you want to run an example against an already running broker then firstly you will need to start the broker using +the example configuration. An example configuration is provided which by default to run the queue example, to run this +use the command ./activemq run --config xml:../config/examples/bootstrap.xml. + +Once the server has started run the example with the command mvn -DskipBrokerStart verify -Pexample. If you want +to run a different example simply edit the config/examples/bootstrap.xml aand change the paths to point +the correct configuration (this will be found in the directory of the example you wish to run). By default the broker +will use the data/server0 directory for the journal, to avoid problems it is best to delete this +directory between running different examples or set the ACTIVEMQ_DATA_DIR environment property in +activemq.confto use a different location

\ No newline at end of file diff --git a/activemq-website/src/main/resources/index.html b/activemq-website/src/main/resources/index.html index dd403f5bd2..c3d9fc96be 100644 --- a/activemq-website/src/main/resources/index.html +++ b/activemq-website/src/main/resources/index.html @@ -52,7 +52,7 @@
diff --git a/distribution/activemq/src/main/resources/README.html b/distribution/activemq/src/main/resources/README.html index 8e41d4fdec..f0c05035b6 100644 --- a/distribution/activemq/src/main/resources/README.html +++ b/distribution/activemq/src/main/resources/README.html @@ -59,7 +59,7 @@ $ ./activemq stop

The broker comes shipped with an in depth user manual and a bunch of examples to help you get started. The manual is accessible from the broker website. Start the broker then navigate to the Apache ActiveMQ.

-The examples are shipped inside the distribution folder under "examples": Apache ActiveMQ Examples.

+The examples are shipped inside the distribution folder under "examples"

Release Notes - ActiveMQ 6.0.0

diff --git a/distribution/activemq/src/main/resources/examples/index.html b/distribution/activemq/src/main/resources/examples/index.html deleted file mode 100644 index 6e1abf8ab6..0000000000 --- a/distribution/activemq/src/main/resources/examples/index.html +++ /dev/null @@ -1,122 +0,0 @@ - - -

Apache ActiveMQ Examples

-

JMS Examples

-

Each example has its own instructions as to how they can be run, but for most of them it is as simple as running - mvn verify -Pexample from the example directory. This will start a broker with the correct configuration, run the -example and then stop the server so you will need to make sure there is not a broker already running

-

If you want to run an example against an already running broker then firstly you will need to start the broker to use -the examples configuration. An example configuration is provided which by default to run the queue example, to run this -use the command ./activemq run --config xml:../config/examples/bootstrap.xml. Once the server has started run the -example with the command mvn -DskipBrokerStart verify. If you want to run a different example simply edit the -config/examples/bootstrap.xml and change the paths. By default the broker will use the data/server0 -directory for the journal, to avoid problems it is best to delete this directory between running different examples or -set the ACTIVEMQ_DATA_DIR environment property in activemq.confto use a different location

-
    -
  1. AeroGear Example
  2. -
  3. Application-Layer Failover Example
  4. -
  5. Core Bridge Example
  6. -
  7. JMS QueueBrowser Example
  8. -
  9. Client Kickoff Example
  10. -
  11. Client Side FailoverListener Example
  12. -
  13. JMS Client-Side Load-Balancing Example
  14. -
  15. JMS Durable Subscription Example
  16. -
  17. JMS Clustered Grouping Example
  18. -
  19. ActiveMQ Clustering with JGroups Example
  20. -
  21. JMS Load Balanced Clustered Queue Example
  22. -
  23. JMS Clustered Stand-alone Example
  24. -
  25. JMS Load Balanced Static Clustered Queue Example
  26. -
  27. JMS Load Balanced Static Clustered One Way Queue Example
  28. -
  29. JMS Clustered Topic Example
  30. -
  31. JMS Colocated Failover Shared Store Example
  32. -
  33. JMS Colocated Failover Recover Only Example
  34. -
  35. JMS Message Consumer Rate Limiting Example
  36. -
  37. Dead Letter Example
  38. -
  39. Delayed Redelivery Example
  40. -
  41. Divert Example
  42. -
  43. JMS Durable Subscription Example
  44. -
  45. Embedded JMS Server Example
  46. -
  47. Embedded JMS Server Example
  48. -
  49. JMS Expiration Example
  50. -
  51. Auto-backup Example
  52. -
  53. JMS HTTP Example
  54. -
  55. JMS Instantiate Connection Factory Example
  56. -
  57. JMS Interceptor Example
  58. -
  59. JMS Auto Closable Example
  60. -
  61. JMS Bridge Example
  62. -
  63. JMS Completion Listener Example
  64. -
  65. JMS Context Example
  66. -
  67. JMS Shared Consumer Example
  68. -
  69. JMX Management Example
  70. -
  71. Large Message Example
  72. -
  73. Last-Value Queue Example
  74. -
  75. Management Example
  76. -
  77. Management Notification Example
  78. -
  79. JMS Message Counter Example
  80. -
  81. Message Group Example
  82. -
  83. Message Group Example
  84. -
  85. JMS Message Priority Example
  86. -
  87. Multiple Fail-over Example
  88. -
  89. Multiple Fail-over/Fail-back Example
  90. -
  91. No Consumer Buffering Example
  92. -
  93. JMS Failover Without Transactions Example
  94. -
  95. JMS OpenWire Example
  96. -
  97. Paging Example
  98. -
  99. JMS Simple Performance Example
  100. -
  101. JMS Pre-Acknowledge Example
  102. -
  103. JMS Message Producer Rate Example
  104. -
  105. AMQP CPP Example
  106. -
  107. Proton qpid java Example
  108. -
  109. Proton Ruby Example
  110. -
  111. JMS Queue Example
  112. -
  113. Message Redistribution Example
  114. -
  115. JMS QueueRequestor Example
  116. -
  117. JMS Queue Selector Example
  118. -
  119. JMS Reattach Example
  120. -
  121. JMS Multiple Failover using Replication Example
  122. -
  123. JMS Multiple Failover using Replication Example
  124. -
  125. JMS Multiple Failover using Replication Example
  126. -
  127. JMS Failover With Transaction using Replication Example
  128. -
  129. JMS Request-Reply Example
  130. -
  131. JMS Colocated Failover Shared Store Example
  132. -
  133. JMS Scheduled Message Example
  134. -
  135. JMS Security Example
  136. -
  137. Asynchronous Send Acknowledgements Example
  138. -
  139. ActiveMQ Spring Example Example
  140. -
  141. JMS SSL Example
  142. -
  143. Static Message Selector Example
  144. -
  145. Static Message Selector Example
  146. -
  147. Stomp Example
  148. -
  149. Stomp 1.1 Example
  150. -
  151. Stomp 1.2 Example
  152. -
  153. Stomp WebSockets Example
  154. -
  155. JMS Failover Without Transactions Example
  156. -
  157. JMS Symmetric Cluster Example
  158. -
  159. JMS Temporary Queue Example
  160. -
  161. JMS Topic Example
  162. -
  163. Topic Hierarchy Example
  164. -
  165. JMS Topic Selector Example 1 Example
  166. -
  167. JMS Topic Selector Example 2 Example
  168. -
  169. JMS Failover With Transaction Example
  170. -
  171. JMS Transactional Session Example
  172. -
  173. JMS XA Heuristic Example
  174. -
  175. JMS XA Receive Example
  176. -
  177. JMS XA Send Example
  178. -