Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

EAP tag

  • Loading branch information...
commit d341f21893d0e67404df55c12bf0bdd4b2b8f006 2 parents 07efec1 + b4587af
clebertsuconic clebertsuconic authored

Showing 949 changed files with 4,177 additions and 26,053 deletions. Show diff stats Hide diff stats

  1. +11 6 build-hornetq.xml
  2. +2 13 build-maven.xml
  3. +0 13 docs/design-guide/build.bat
  4. +0 15 docs/design-guide/build.sh
  5. +0 27 docs/design-guide/build.xml
  6. +0 43 docs/design-guide/en/clustering.xml
  7. BIN  docs/design-guide/en/diagrams/design-docs.odg
  8. BIN  docs/design-guide/en/images/hornetQ_logo_600px.png
  9. BIN  docs/design-guide/en/images/topology-update.jpg
  10. +0 32 docs/design-guide/en/notice.xml
  11. +21 14 docs/eap-manual/build.xml
  12. +1 1  docs/{design-guide → eap-manual}/en/Author_Group.xml
  13. +6 6 docs/{design-guide → eap-manual}/en/Book_Info.xml
  14. +3 1 docs/{design-guide/en/HornetQ_Design_Guide.ent → eap-manual/en/HornetQ_EAP_Manual.ent}
  15. +3 5 docs/{design-guide/en/HornetQ_Design_Guide.xml → eap-manual/en/HornetQ_EAP_Manual.xml}
  16. +181 174 docs/eap-manual/en/clusters.xml
  17. +305 0 docs/eap-manual/pom.xml
  18. +20 16 docs/quickstart-guide/build.xml
  19. +45 0 docs/quickstart-guide/en/Author_Group.xml
  20. +31 0 docs/quickstart-guide/en/Book_Info.xml
  21. +5 0 docs/quickstart-guide/en/HornetQ_QuickStart_Guide.ent
  22. +17 0 docs/quickstart-guide/en/HornetQ_QuickStart_Guide.xml
  23. +5 0 docs/quickstart-guide/en/about.xml
  24. +5 0 docs/quickstart-guide/en/download.xml
  25. +5 0 docs/quickstart-guide/en/examples.xml
  26. +5 0 docs/quickstart-guide/en/installation.xml
  27. +5 0 docs/quickstart-guide/en/introduction.xml
  28. +0 46 docs/quickstart-guide/en/master.xml
  29. +5 0 docs/quickstart-guide/en/notice.xml
  30. +5 0 docs/quickstart-guide/en/running.xml
  31. +292 0 docs/quickstart-guide/pom.xml
  32. +20 17 docs/user-manual/build.xml
  33. +58 0 docs/user-manual/en/Author_Group.xml
  34. +43 0 docs/user-manual/en/Book_Info.xml
  35. +18 0 docs/user-manual/en/HornetQ_User_Manual.ent
  36. +70 0 docs/user-manual/en/HornetQ_User_Manual.xml
  37. +191 155 docs/user-manual/en/appserver-integration.xml
  38. +5 0 docs/user-manual/en/architecture.xml
  39. +5 0 docs/user-manual/en/client-classpath.xml
  40. +5 0 docs/user-manual/en/client-reconnection.xml
  41. +104 89 docs/user-manual/en/clusters.xml
  42. +41 0 docs/user-manual/en/configuration-index.xml
  43. +9 2 docs/user-manual/en/configuring-transports.xml
  44. +15 2 docs/user-manual/en/connection-ttl.xml
  45. +12 0 docs/user-manual/en/core-bridges.xml
  46. +5 0 docs/user-manual/en/diverts.xml
  47. +5 0 docs/user-manual/en/duplicate-detection.xml
  48. +5 0 docs/user-manual/en/embedding-hornetq.xml
  49. +56 36 docs/user-manual/en/examples.xml
  50. +5 0 docs/user-manual/en/filter-expressions.xml
  51. +5 0 docs/user-manual/en/flow-control.xml
  52. +14 16 docs/user-manual/en/ha.xml
  53. +5 0 docs/user-manual/en/intercepting-operations.xml
  54. +10 5 docs/user-manual/en/interoperability.xml
  55. +5 0 docs/user-manual/en/jms-bridge.xml
  56. +5 0 docs/user-manual/en/jms-core-mapping.xml
  57. +15 4 docs/user-manual/en/large-messages.xml
  58. +5 0 docs/user-manual/en/last-value-queues.xml
  59. +5 0 docs/user-manual/en/libaio.xml
  60. +5 0 docs/user-manual/en/logging.xml
  61. +5 0 docs/user-manual/en/management.xml
  62. +0 130 docs/user-manual/en/master.xml
  63. +5 0 docs/user-manual/en/message-expiry.xml
  64. +5 0 docs/user-manual/en/message-grouping.xml
  65. +5 0 docs/user-manual/en/messaging-concepts.xml
  66. +5 0 docs/user-manual/en/notice.xml
  67. +5 0 docs/user-manual/en/paging.xml
  68. +5 0 docs/user-manual/en/perf-tuning.xml
  69. +5 0 docs/user-manual/en/persistence.xml
  70. +5 0 docs/user-manual/en/pre-acknowledge.xml
  71. +5 0 docs/user-manual/en/preface.xml
  72. +8 10 docs/user-manual/en/project-info.xml
  73. +5 0 docs/user-manual/en/queue-attributes.xml
  74. +5 0 docs/user-manual/en/scheduled-messages.xml
  75. +5 0 docs/user-manual/en/security.xml
  76. +5 0 docs/user-manual/en/send-guarantees.xml
  77. +5 0 docs/user-manual/en/spring-integration.xml
  78. +10 2 docs/user-manual/en/thread-pooling.xml
  79. +5 0 docs/user-manual/en/transaction-config.xml
  80. +5 0 docs/user-manual/en/undelivered-messages.xml
  81. +21 5 docs/user-manual/en/using-core.xml
  82. +6 1 docs/user-manual/en/using-jms.xml
  83. +5 0 docs/user-manual/en/using-server.xml
  84. +5 0 docs/user-manual/en/wildcard-routing.xml
  85. +5 0 docs/user-manual/en/wildcard-syntax.xml
  86. +2 2 docs/{design-guide → user-manual}/pom.xml
  87. +18 0 examples-eap/common/config/ant.properties
  88. 0  examples-eap/javaee/common/config/ant.properties
  89. +1 0  examples-eap/readme
  90. +11 1 examples/common/build.xml
  91. +15 0 examples/common/src/org/hornetq/common/example/HornetQExample.java
  92. +4 4 examples/javaee/common/build.xml
  93. +2 1  examples/javaee/jca-config/server2/jms-remote-ds.xml
  94. +8 2 examples/javaee/jca-config/server2/ra.xml
  95. +1 0  examples/javaee/jca-remote/server/jms-ds.xml
  96. +8 2 examples/javaee/jca-remote/server/ra.xml
  97. +8 4 examples/javaee/mdb-cmt-tx-required/src/org/hornetq/javaee/example/MDB_CMT_TxRequiredClientExample.java
  98. +6 19 examples/javaee/mdb-cmt-tx-required/src/org/hornetq/javaee/example/server/MDB_CMT_TxRequiredExample.java
  99. +108 0 examples/javaee/mdb-remote-failover-static/backup-server/hornetq-configuration.xml
  100. +49 0 examples/javaee/mdb-remote-failover-static/backup-server/hornetq-jms.xml
  101. +13 0 examples/javaee/mdb-remote-failover-static/build.bat
  102. +15 0 examples/javaee/mdb-remote-failover-static/build.sh
  103. +111 0 examples/javaee/mdb-remote-failover-static/build.xml
  104. +14 10 ...design-guide/en/about.xml → examples/javaee/mdb-remote-failover-static/config/META-INF/application.xml
  105. +14 0 examples/javaee/mdb-remote-failover-static/config/ant.properties
  106. +16 0 examples/javaee/mdb-remote-failover-static/config/jndi.properties
  107. +109 0 examples/javaee/mdb-remote-failover-static/live-server/hornetq-configuration.xml
  108. +49 0 examples/javaee/mdb-remote-failover-static/live-server/hornetq-jms.xml
  109. +63 0 examples/javaee/mdb-remote-failover-static/server/hornetq-configuration.xml
  110. +33 0 examples/javaee/mdb-remote-failover-static/server/hornetq-jms.xml
  111. +36 0 examples/javaee/mdb-remote-failover-static/server/jms-ds.xml
  112. +126 0 examples/javaee/mdb-remote-failover-static/server/ra.xml
  113. +106 0 .../javaee/mdb-remote-failover-static/src/org/hornetq/javaee/example/MDBRemoteFailoverStaticClientExample.java
  114. +90 0 ...javaee/mdb-remote-failover-static/src/org/hornetq/javaee/example/server/MDBRemoteFailoverStaticExample.java
  115. +108 0 examples/javaee/mdb-remote-failover/backup-server/hornetq-configuration.xml
  116. +49 0 examples/javaee/mdb-remote-failover/backup-server/hornetq-jms.xml
  117. +13 0 examples/javaee/mdb-remote-failover/build.bat
  118. +15 0 examples/javaee/mdb-remote-failover/build.sh
  119. +111 0 examples/javaee/mdb-remote-failover/build.xml
  120. +13 14 docs/eap-manual/en/master.xml → examples/javaee/mdb-remote-failover/config/META-INF/application.xml
  121. +14 0 examples/javaee/mdb-remote-failover/config/ant.properties
  122. +16 0 examples/javaee/mdb-remote-failover/config/jndi.properties
  123. +109 0 examples/javaee/mdb-remote-failover/live-server/hornetq-configuration.xml
  124. +49 0 examples/javaee/mdb-remote-failover/live-server/hornetq-jms.xml
  125. +63 0 examples/javaee/mdb-remote-failover/server/hornetq-configuration.xml
  126. +33 0 examples/javaee/mdb-remote-failover/server/hornetq-jms.xml
  127. +36 0 examples/javaee/mdb-remote-failover/server/jms-ds.xml
  128. +121 0 examples/javaee/mdb-remote-failover/server/ra.xml
  129. +106 0 examples/javaee/mdb-remote-failover/src/org/hornetq/javaee/example/MDBRemoteFailoverClientExample.java
  130. +95 0 examples/javaee/mdb-remote-failover/src/org/hornetq/javaee/example/server/MDBRemoteFailoverExample.java
  131. +7 0 examples/javaee/xarecovery/server/jbossts-properties.xml
  132. +32 18 examples/jms/client-side-load-balancing/readme.html
  133. +9 0 examples/jms/client-side-load-balancing/server0/hornetq-configuration.xml
  134. +11 4 examples/jms/client-side-load-balancing/server1/hornetq-configuration.xml
  135. +9 0 examples/jms/client-side-load-balancing/server2/hornetq-configuration.xml
  136. +31 11 examples/jms/client-side-load-balancing/src/org/hornetq/jms/example/ClientSideLoadBalancingExample.java
  137. +87 38 examples/jms/clustered-static-oneway/readme.html
  138. +1 1  examples/jms/clustered-static-oneway/server0/hornetq-configuration.xml
  139. +1 1  examples/jms/clustered-static-oneway/server1/hornetq-configuration.xml
  140. +29 43 examples/jms/clustered-static-oneway/src/org/hornetq/jms/example/ClusterStaticOnewayExample.java
  141. +1 1  examples/jms/large-message/src/org/hornetq/jms/example/LargeMessageExample.java
  142. +3 3 examples/jms/paging/src/org/hornetq/jms/example/PagingExample.java
  143. +33 7 examples/jms/transaction-failover/server0/hornetq-configuration.xml
  144. +12 0 examples/jms/transaction-failover/server0/hornetq-jms.xml
  145. +41 1 examples/jms/transaction-failover/server1/hornetq-configuration.xml
  146. +12 0 examples/jms/transaction-failover/server1/hornetq-jms.xml
  147. +1 1  examples/jms/transaction-failover/src/org/hornetq/jms/example/TransactionFailoverExample.java
  148. +1 1  hornetq-rest/pom.xml
  149. +0 11 lib/docbook-support/.project
  150. +0 543 lib/docbook-support/styles/en/fopdf.xsl
  151. +0 122 lib/docbook-support/styles/en/html.css
  152. +0 84 lib/docbook-support/styles/en/html.xsl
  153. +0 86 lib/docbook-support/styles/en/html_chunk.xsl
  154. +0 548 lib/docbook-support/styles/zh/fopdf.xsl
  155. +0 122 lib/docbook-support/styles/zh/html.css
  156. +0 84 lib/docbook-support/styles/zh/html.xsl
  157. +0 86 lib/docbook-support/styles/zh/html_chunk.xsl
  158. +0 221 lib/docbook-support/support.xml
  159. +0 363 lib/docbook-support/support/docbook-dtd/ChangeLog
  160. +0 8 lib/docbook-support/support/docbook-dtd/README
  161. +0 205 lib/docbook-support/support/docbook-dtd/calstblx.dtd
  162. +0 115 lib/docbook-support/support/docbook-dtd/catalog.xml
  163. +0 384 lib/docbook-support/support/docbook-dtd/dbcentx.mod
  164. +0 41 lib/docbook-support/support/docbook-dtd/dbgenent.mod
  165. +0 2,116 lib/docbook-support/support/docbook-dtd/dbhierx.mod
  166. +0 102 lib/docbook-support/support/docbook-dtd/dbnotnx.mod
  167. +0 8,250 lib/docbook-support/support/docbook-dtd/dbpoolx.mod
  168. +0 110 lib/docbook-support/support/docbook-dtd/docbook.cat
  169. +0 165 lib/docbook-support/support/docbook-dtd/docbookx.dtd
  170. +0 63 lib/docbook-support/support/docbook-dtd/ent/iso-amsa.ent
  171. +0 49 lib/docbook-support/support/docbook-dtd/ent/iso-amsb.ent
  172. +0 15 lib/docbook-support/support/docbook-dtd/ent/iso-amsc.ent
  173. +0 66 lib/docbook-support/support/docbook-dtd/ent/iso-amsn.ent
  174. +0 26 lib/docbook-support/support/docbook-dtd/ent/iso-amso.ent
  175. +0 91 lib/docbook-support/support/docbook-dtd/ent/iso-amsr.ent
  176. +0 45 lib/docbook-support/support/docbook-dtd/ent/iso-box.ent
  177. +0 72 lib/docbook-support/support/docbook-dtd/ent/iso-cyr1.ent
  178. +0 31 lib/docbook-support/support/docbook-dtd/ent/iso-cyr2.ent
  179. +0 19 lib/docbook-support/support/docbook-dtd/ent/iso-dia.ent
  180. +0 54 lib/docbook-support/support/docbook-dtd/ent/iso-grk1.ent
  181. +0 25 lib/docbook-support/support/docbook-dtd/ent/iso-grk2.ent
  182. +0 48 lib/docbook-support/support/docbook-dtd/ent/iso-grk3.ent
  183. +0 48 lib/docbook-support/support/docbook-dtd/ent/iso-grk4.ent
  184. +0 67 lib/docbook-support/support/docbook-dtd/ent/iso-lat1.ent
  185. +0 126 lib/docbook-support/support/docbook-dtd/ent/iso-lat2.ent
  186. +0 81 lib/docbook-support/support/docbook-dtd/ent/iso-num.ent
  187. +0 90 lib/docbook-support/support/docbook-dtd/ent/iso-pub.ent
  188. +0 69 lib/docbook-support/support/docbook-dtd/ent/iso-tech.ent
  189. +0 228 lib/docbook-support/support/docbook-dtd/htmltblx.mod
  190. +0 314 lib/docbook-support/support/docbook-dtd/soextblx.dtd
  191. +0 107 lib/docbook-support/support/docbook-xsl/README
  192. +0 84 lib/docbook-support/support/docbook-xsl/VERSION
  193. +0 624 lib/docbook-support/support/docbook-xsl/common/ChangeLog
  194. +0 1,153 lib/docbook-support/support/docbook-xsl/common/af.xml
  195. +0 1,153 lib/docbook-support/support/docbook-xsl/common/ar.xml
  196. +0 135 lib/docbook-support/support/docbook-xsl/common/autoidx-ng.xsl
  197. +0 1,153 lib/docbook-support/support/docbook-xsl/common/bg.xml
  198. +0 1,153 lib/docbook-support/support/docbook-xsl/common/bn.xml
  199. +0 1,153 lib/docbook-support/support/docbook-xsl/common/ca.xml
  200. +0 1,658 lib/docbook-support/support/docbook-xsl/common/common.xsl
  201. +0 624 lib/docbook-support/support/docbook-xsl/common/cs.xml
  202. +0 588 lib/docbook-support/support/docbook-xsl/common/da.xml
Sorry, we could not display the entire diff because too many files (949) changed.
17 build-hornetq.xml
@@ -123,9 +123,9 @@
123 123 <property name="logs.dir" value="logs"/>
124 124 <property name="licenses.dir" value="licenses"/>
125 125 <property name="doc.examples.dir" value="examples"/>
126   - <property name="user-manual.build.dir" value="${doc.dir}/user-manual/build"/>
  126 + <property name="user-manual.build.dir" value="${doc.dir}/user-manual/target/docbook/publish"/>
127 127 <property name="rest-manual.build.dir" value="hornetq-rest/docbook/target/docbook/publish/en-US"/>
128   - <property name="quickstart-guide.build.dir" value="${doc.dir}/quickstart-guide/build"/>
  128 + <property name="quickstart-guide.build.dir" value="${doc.dir}/quickstart-guide/target/docbook/publish"/>
129 129 <property name="build.api.dir" value="${build.dir}/api"/>
130 130 <property name="native.bin.dir" value="native/bin"/>
131 131 <property name="examples.dir" value="examples"/>
@@ -193,6 +193,10 @@
193 193 <property name="test.joram.config.dir" value="${test.joram.dir}/config"/>
194 194 <property name="test.joram.build.dir" value="${test.joram.dir}/build"/>
195 195 <property name="test.joram.classes.dir" value="${test.joram.build.dir}/classes"/>
  196 +
  197 +
  198 + <property name="test-udp-address" value="230.1.2.3"/>
  199 + <property name="test-udp-port" value="6750"/>
196 200
197 201 <!-- ======================================================================================== -->
198 202 <!-- Classpath definition -->
@@ -775,7 +779,7 @@
775 779 </target>
776 780
777 781 <target name="jar"
778   - depends="jar-core, jar-core-client, jar-core-client-java5, jar-jms, jar-jms-client, jar-jms-client-java5, jar-jboss-integration, jar-jboss-service, jar-bootstrap, jar-logging, jar-ra, jar-mc, jar-jnp-client, jar-resources, sources-jar, jar-twitter-integration, jar-spring-integration, jar-rest">
  782 + depends="jar-core, jar-core-client, jar-core-client-java5, jar-jms, jar-jms-client, jar-jms-client-java5, jar-jboss-integration, jar-jboss-service, jar-bootstrap, jar-logging, jar-ra, jar-mc, jar-jnp-client, jar-resources, sources-jar, jar-twitter-integration, jar-spring-integration, jar-rest, eap-examples">
779 783 </target>
780 784
781 785 <target name="jar-jnp-client" depends="init">
@@ -1240,9 +1244,6 @@
1240 1244 <fileset dir="${com.sun.xml.stream.lib}">
1241 1245 <include name="*.jar"/>
1242 1246 </fileset>
1243   - <fileset dir="${org.slf4j.lib}">
1244   - <include name="*.jar"/>
1245   - </fileset>
1246 1247 <fileset dir="${org.scannotation.lib}">
1247 1248 <include name="*.jar"/>
1248 1249 </fileset>
@@ -1735,6 +1736,8 @@
1735 1736 <sysproperty key="twitter.consumerSecret" value="${twitter.consumerSecret}"/>
1736 1737 <sysproperty key="twitter.accessToken" value="${twitter.accessToken}"/>
1737 1738 <sysproperty key="twitter.accessTokenSecret" value="${twitter.accessTokenSecret}"/>
  1739 + <sysproperty key="TEST-UDP-ADDRESS" value="${test-udp-address}"/>
  1740 + <sysproperty key="TEST-UDP-PORT" value="${test-udp-port}"/>
1738 1741 <jvmarg value="-Djava.library.path=native/bin"/>
1739 1742 <jvmarg value="-Dmodule.output=./"/>
1740 1743 <jvmarg value="-Djava.util.logging.config.file=src/config/trunk/non-clustered/logging.properties"/>
@@ -1880,6 +1883,8 @@
1880 1883
1881 1884 <sysproperty key="user.home" value="${user.home}"/>
1882 1885 <sysproperty key="java.io.tmpdir" value="${java.io.tmpdir}"/>
  1886 + <sysproperty key="TEST-UDP-ADDRESS" value="${test-udp-address}"/>
  1887 + <sysproperty key="TEST-UDP-PORT" value="${test-udp-port}"/>
1883 1888 <jvmarg value="-Xmx1024M"/>
1884 1889 <jvmarg value="-Dmodule.output=./"/>
1885 1890 <jvmarg value="-Djava.util.logging.config.file=src/config/trunk/non-clustered/logging.properties"/>
15 build-maven.xml
@@ -69,10 +69,6 @@
69 69 <target name="uploadHornetQRa">
70 70 <antcall target="upload">
71 71 <param name="artifact.id" value="hornetq-ra"/>
72   - <param name="artifact.type" value="rar"/>
73   - </antcall>
74   - <antcall target="upload">
75   - <param name="artifact.id" value="hornetq-ra"/>
76 72 <param name="artifact.type" value="jar"/>
77 73 </antcall>
78 74 </target>
@@ -268,12 +264,6 @@
268 264 <antcall target="deploy-jar">
269 265 <param name="artifact.id" value="hornetq-ra"/>
270 266 <param name="file-name" value="hornetq-ra"/>
271   - <param name="artifact.type" value="rar"/>
272   - </antcall>
273   -
274   - <antcall target="deploy-jar">
275   - <param name="artifact.id" value="hornetq-ra"/>
276   - <param name="file-name" value="hornetq-ra"/>
277 267 </antcall>
278 268
279 269 <antcall target="deploy-jar">
@@ -284,7 +274,6 @@
284 274 </target>
285 275
286 276 <target name="deploy-jar">
287   - <property name="artifact.type" value="jar"/>
288 277 <tempfile property="temporary.pom" prefix="pom" suffix=".xml"/>
289 278 <echo file="${temporary.pom}"
290 279 message="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;project&gt;${line.separator}
@@ -301,8 +290,8 @@
301 290 <arg value="-DgroupId=org.hornetq"/>
302 291 <arg value="-DartifactId=${artifact.id}"/>
303 292 <arg value="-Dversion=${hornetq.version}"/>
304   - <arg value="-Dpackaging=${artifact.type}"/>
305   - <arg value="-Dfile=./build/jars/${file-name}.${artifact.type}"/>
  293 + <arg value="-Dpackaging=jar"/>
  294 + <arg value="-Dfile=./build/jars/${file-name}.jar"/>
306 295 <arg value="-DrepositoryId=jboss-releases-repository"/>
307 296 <arg value="-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/"/>
308 297 </exec>
13 docs/design-guide/build.bat
... ... @@ -1,13 +0,0 @@
1   -@echo off
2   -
3   -set "OVERRIDE_ANT_HOME=..\..\tools\ant"
4   -
5   -if exist "..\..\src\bin\build.bat" (
6   - rem running from TRUNK
7   - call ..\..\src\bin\build.bat %*
8   -) else (
9   - rem running from the distro
10   - call ..\..\bin\build.bat %*
11   -)
12   -
13   -set "OVERRIDE_ANT_HOME="
15 docs/design-guide/build.sh
... ... @@ -1,15 +0,0 @@
1   -#!/bin/sh
2   -
3   -OVERRIDE_ANT_HOME=../../tools/ant
4   -export OVERRIDE_ANT_HOME
5   -
6   -if [ -f "../../src/bin/build.sh" ]; then
7   - # running from TRUNK
8   - ../../src/bin/build.sh "$@"
9   -else
10   - # running from the distro
11   - ../../bin/build.sh "$@"
12   -fi
13   -
14   -
15   -
27 docs/design-guide/build.xml
... ... @@ -1,27 +0,0 @@
1   -<project name="HornetQ Design Guide" default="all" basedir=".">
2   -
3   -
4   - <target name="maven-init">
5   - <property name="maven.home" location="${basedir}/../../tools/maven"/>
6   - <echo message="Maven Home set to ${maven.home}"/>
7   - </target>
8   -
9   - <target name="clean" depends="maven-init">
10   - <condition property="mvn.cmd" value="mvn.bat" else="mvn">
11   - <os family="windows"/>
12   - </condition>
13   - <exec executable="${mvn.cmd}">
14   - <arg line="clean"/>
15   - </exec>
16   - </target>
17   -
18   - <target name="all" depends="maven-init">
19   - <condition property="mvn.cmd" value="mvn.bat" else="mvn">
20   - <os family="windows"/>
21   - </condition>
22   - <exec executable="${mvn.cmd}">
23   - <arg line="install"/>
24   - </exec>
25   - </target>
26   -
27   -</project>
43 docs/design-guide/en/clustering.xml
... ... @@ -1,43 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!-- ============================================================================= -->
3   -<!-- Copyright © 2009 Red Hat, Inc. and others. -->
4   -<!-- -->
5   -<!-- The text of and illustrations in this document are licensed by Red Hat under -->
6   -<!-- a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). -->
7   -<!-- -->
8   -<!-- An explanation of CC-BY-SA is available at -->
9   -<!-- -->
10   -<!-- http://creativecommons.org/licenses/by-sa/3.0/. -->
11   -<!-- -->
12   -<!-- In accordance with CC-BY-SA, if you distribute this document or an adaptation -->
13   -<!-- of it, you must provide the URL for the original version. -->
14   -<!-- -->
15   -<!-- Red Hat, as the licensor of this document, waives the right to enforce, -->
16   -<!-- and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent -->
17   -<!-- permitted by applicable law. -->
18   -<!-- ============================================================================= -->
19   -
20   -<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
21   -<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
22   -%BOOK_ENTITIES;
23   -]>
24   -<chapter id="introduction">
25   - <title>Getting Started</title>
26   - <para>This chapter discusses the architecture behind clustering</para>
27   - <section>
28   - <title>Discovery</title>
29   - <para>Discovery is done in 2 steps, initial discovery where the server locates another node in the cluster and
30   - topology discovery where the node finds out about all other nodes in the cluster</para>
31   - <section>
32   - <title>Initial Discovery</title>
33   - <para>blah blah blah, UDP, static connectors etc etc</para>
34   - </section>
35   - <section>
36   - <title>Topology Discovery</title>
37   - <para>blah blah blah, topology etc</para>
38   - <para>
39   - <graphic fileref="images/topology-update.jpg" align="center" format="JPEG" scale="30"/>
40   - </para>
41   - </section>
42   - </section>
43   -</chapter>
BIN  docs/design-guide/en/diagrams/design-docs.odg
Binary file not shown
0  docs/design-guide/en/diagrams/design-docs.odg
Sorry, we could not display the changes to this file because there were too many other changes to display.
BIN  docs/design-guide/en/images/hornetQ_logo_600px.png
0  docs/design-guide/en/images/hornetQ_logo_600px.png
BIN  docs/design-guide/en/images/topology-update.jpg
0  docs/design-guide/en/images/topology-update.jpg
32 docs/design-guide/en/notice.xml
... ... @@ -1,32 +0,0 @@
1   -<!--
2   - ~ Copyright 2009 Red Hat, Inc.
3   - ~ Red Hat licenses this file to you under the Apache License, version
4   - ~ 2.0 (the "License"); you may not use this file except in compliance
5   - ~ with the License. You may obtain a copy of the License at
6   - ~ http://www.apache.org/licenses/LICENSE-2.0
7   - ~ Unless required by applicable law or agreed to in writing, software
8   - ~ distributed under the License is distributed on an "AS IS" BASIS,
9   - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10   - ~ implied. See the License for the specific language governing
11   - ~ permissions and limitations under the License.
12   - -->
13   -
14   -<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
15   -<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
16   -%BOOK_ENTITIES;
17   -]>
18   -
19   -<chapter id="notice">
20   - <title>Legal Notice</title>
21   -
22   - <para>Copyright © 2010 Red Hat, Inc. and others.</para>
23   - <para>The text of and illustrations in this document are licensed by Red Hat under
24   - a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA").</para>
25   - <para>An explanation of CC-BY-SA is available at
26   - <ulink url="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</ulink>.
27   - In accordance with CC-BY-SA, if you distribute this document or an adaptation
28   - of it, you must provide the URL for the original version.</para>
29   - <para>Red Hat, as the licensor of this document, waives the right to enforce,
30   - and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent
31   - permitted by applicable law.</para>
32   -</chapter>
35 docs/eap-manual/build.xml
@@ -10,21 +10,28 @@
10 10 ~ implied. See the License for the specific language governing
11 11 ~ permissions and limitations under the License.
12 12 -->
13   -
14   -<project name="HornetQ User Manual" default="all" basedir=".">
15   -
16   - <property name="build.dir" value="build"/>
17   - <property name="pdf.name" value="HornetQ_EAPManual.pdf"/>
18   - <import file="${basedir}/../../lib/docbook-support/support.xml"/>
19   -
20   - <target name="all" depends="clean">
21   - <mkdir dir="en/images" />
22   - <antcall target="lang.all"><param name="lang" value="en"/></antcall>
  13 +<project name="HornetQ EAP Manual" default="all" basedir=".">
  14 + <target name="maven-init">
  15 + <property name="maven.home" location="${basedir}/../../tools/maven"/>
  16 + <echo message="Maven Home set to ${maven.home}"/>
23 17 </target>
24 18
25   - <target name="html.doc" description="creates the html docs only and opens a browser">
26   - <mkdir dir="en/images" />
27   - <antcall target="lang.dochtml"><param name="lang" value="en"/></antcall>
28   - </target>
  19 + <target name="clean" depends="maven-init">
  20 + <condition property="mvn.cmd" value="mvn.bat" else="mvn">
  21 + <os family="windows"/>
  22 + </condition>
  23 + <exec executable="${mvn.cmd}">
  24 + <arg line="clean"/>
  25 + </exec>
  26 + </target>
  27 +
  28 + <target name="all" depends="maven-init">
  29 + <condition property="mvn.cmd" value="mvn.bat" else="mvn">
  30 + <os family="windows"/>
  31 + </condition>
  32 + <exec executable="${mvn.cmd}">
  33 + <arg line="install"/>
  34 + </exec>
  35 + </target>
29 36
30 37 </project>
2  docs/design-guide/en/Author_Group.xml → docs/eap-manual/en/Author_Group.xml
@@ -13,7 +13,7 @@
13 13 -->
14 14
15 15 <!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
16   -<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
  16 +<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_EAP_Manual.ent">
17 17 %BOOK_ENTITIES;
18 18 ]>
19 19 <authorgroup>
12 docs/design-guide/en/Book_Info.xml → docs/eap-manual/en/Book_Info.xml
@@ -12,19 +12,19 @@
12 12 ~ permissions and limitations under the License.
13 13 -->
14 14
15   -<!-- This document was created with Syntext Serna Free. --><!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
16   -<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
  15 +<!-- This document was created with Syntext Serna Free. -->
  16 +<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  17 +<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_EAP_Manual.ent">
17 18 %BOOK_ENTITIES;
18 19 ]>
19   -<bookinfo id="HornetQ_QuickStart_Guide">
20   - <title>HornetQ Design Guide</title>
  20 +<bookinfo id="HornetQ_EAP_Manual">
  21 + <title>HornetQ Eap Manual</title>
21 22 <subtitle>Putting the buzz in messaging</subtitle>
22 23 <productname>HornetQ</productname>
23 24 <edition>2.1.0</edition>
24 25 <pubsnumber>1</pubsnumber>
25 26 <abstract>
26   - <para>This Design guide is to help current and future developers how HornetQ's architectures are designed to
27   - help the future development and maintenance of the project</para>
  27 + <para>This is a guide to using HornetQ within EAP</para>
28 28 </abstract>
29 29 <corpauthor>
30 30 <inlinemediaobject>
4 docs/design-guide/en/HornetQ_Design_Guide.ent → docs/eap-manual/en/HornetQ_EAP_Manual.ent
... ... @@ -1,5 +1,7 @@
1 1 <!ENTITY PRODUCT "HornetQ">
2   -<!ENTITY BOOKID "HornetQ_Design_Guide">
  2 +<!ENTITY BOOKID "HornetQ_EAP_Manual">
3 3 <!ENTITY YEAR "2011">
4 4 <!ENTITY HOLDER "Red Hat Inc.">
5 5 <!ENTITY semi ";">
  6 +
  7 +
8 docs/design-guide/en/HornetQ_Design_Guide.xml → docs/eap-manual/en/HornetQ_EAP_Manual.xml
... ... @@ -1,5 +1,4 @@
1 1 <?xml version='1.0' encoding='UTF-8'?>
2   -
3 2 <!--
4 3 ~ Copyright 2009 Red Hat, Inc.
5 4 ~ Red Hat licenses this file to you under the Apache License, version
@@ -13,14 +12,13 @@
13 12 ~ permissions and limitations under the License.
14 13 -->
15 14
  15 +<!-- This document was created with Syntext Serna Free. -->
16 16 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
17   -<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_Design_Guide.ent">
  17 +<!ENTITY % BOOK_ENTITIES SYSTEM "HornetQ_EAP_Manual.ent">
18 18 %BOOK_ENTITIES;
19 19
20 20 ]>
21 21 <book>
22 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Book_Info.xml"/>
23   - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="notice.xml"/>
24   - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="about.xml"/>
25   - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clustering.xml"/>
  23 + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clusters.xml"/>
26 24 </book>
355 docs/eap-manual/en/clusters.xml
@@ -97,10 +97,10 @@
97 97 something like:
98 98 </para>
99 99 <programlisting>
100   - &lt;large-messages-directory>/media/shared/data/large-messages&lt;/large-messages-directory>
101   - &lt;bindings-directory>/media/shared/data/bindings&lt;/bindings-directory>
102   - &lt;journal-directory>/media/shared/data/journal&lt;/journal-directory>
103   - &lt;paging-directory>/media/shared/data/paging&lt;/paging-directory>
  100 + &lt;large-messages-directory>/media/shared/data/large-messages&lt;/large-messages-directory>
  101 + &lt;bindings-directory>/media/shared/data/bindings&lt;/bindings-directory>
  102 + &lt;journal-directory>/media/shared/data/journal&lt;/journal-directory>
  103 + &lt;paging-directory>/media/shared/data/paging&lt;/paging-directory>
104 104 </programlisting>
105 105 <para>
106 106 How these paths are configured will of course depend on your network settings or file system.
@@ -121,7 +121,7 @@
121 121 file like so:
122 122 </para>
123 123 <programlisting>
124   - &lt;failover-on-shutdown>false&lt;/failover-on-shutdown>
  124 + &lt;failover-on-shutdown>false&lt;/failover-on-shutdown>
125 125 </programlisting>
126 126 <para>Don't worry if you have this set to false (which is the default) but still want failover to occur,
127 127 simply
@@ -137,28 +137,28 @@
137 137 example:
138 138 </para>
139 139 <programlisting>
140   - &lt;connection-factory name="NettyConnectionFactory">
141   - &lt;xa>true&lt;/xa>
142   - &lt;connectors>
143   - &lt;connector-ref connector-name="netty"/>
144   - &lt;/connectors>
145   - &lt;entries>
146   - &lt;entry name="/ConnectionFactory"/>
147   - &lt;entry name="/XAConnectionFactory"/>
148   - &lt;/entries>
149   -
150   - &lt;ha>true&lt;/ha>
151   - &lt;!-- Pause 1 second between connect attempts -->
152   - &lt;retry-interval>1000&lt;/retry-interval>
153   -
154   - &lt;!-- Multiply subsequent reconnect pauses by this multiplier. This can be used to
155   - implement an exponential back-off. For our purposes we just set to 1.0 so each reconnect
156   - pause is the same length -->
157   - &lt;retry-interval-multiplier>1.0&lt;/retry-interval-multiplier>
158   -
159   - &lt;!-- Try reconnecting an unlimited number of times (-1 means "unlimited") -->
160   - &lt;reconnect-attempts>-1&lt;/reconnect-attempts>
161   - &lt;/connection-factory>
  140 + &lt;connection-factory name="NettyConnectionFactory">
  141 + &lt;xa>true&lt;/xa>
  142 + &lt;connectors>
  143 + &lt;connector-ref connector-name="netty"/>
  144 + &lt;/connectors>
  145 + &lt;entries>
  146 + &lt;entry name="/ConnectionFactory"/>
  147 + &lt;entry name="/XAConnectionFactory"/>
  148 + &lt;/entries>
  149 +
  150 + &lt;ha>true&lt;/ha>
  151 + &lt;!-- Pause 1 second between connect attempts -->
  152 + &lt;retry-interval>1000&lt;/retry-interval>
  153 +
  154 + &lt;!-- Multiply subsequent reconnect pauses by this multiplier. This can be used to
  155 + implement an exponential back-off. For our purposes we just set to 1.0 so each reconnect
  156 + pause is the same length -->
  157 + &lt;retry-interval-multiplier>1.0&lt;/retry-interval-multiplier>
  158 +
  159 + &lt;!-- Try reconnecting an unlimited number of times (-1 means "unlimited") -->
  160 + &lt;reconnect-attempts>-1&lt;/reconnect-attempts>
  161 + &lt;/connection-factory>
162 162
163 163 </programlisting>
164 164 <para>We have added the following attributes to the connection factory used by the client:</para>
@@ -216,44 +216,44 @@
216 216 directory but in reality it doesn't matter where this is put. This will look like:
217 217 </para>
218 218 <programlisting>
219   - &lt;?xml version="1.0" encoding="UTF-8"?>
220   -
221   - &lt;deployment xmlns="urn:jboss:bean-deployer:2.0">
222   -
223   - &lt;!-- The core configuration -->
224   - &lt;bean name="BackupConfiguration" class="org.hornetq.core.config.impl.FileConfiguration">
225   - &lt;property
226   - name="configurationUrl">${jboss.server.home.url}/deploy/hornetq-backup1/hornetq-configuration.xml&lt;/property>
227   - &lt;/bean>
228   -
229   -
230   - &lt;!-- The core server -->
231   - &lt;bean name="BackupHornetQServer" class="org.hornetq.core.server.impl.HornetQServerImpl">
232   - &lt;constructor>
233   - &lt;parameter>
234   - &lt;inject bean="BackupConfiguration"/>
235   - &lt;/parameter>
236   - &lt;parameter>
237   - &lt;inject bean="MBeanServer"/>
238   - &lt;/parameter>
239   - &lt;parameter>
240   - &lt;inject bean="HornetQSecurityManager"/>
241   - &lt;/parameter>
242   - &lt;/constructor>
243   - &lt;start ignored="true"/>
244   - &lt;stop ignored="true"/>
245   - &lt;/bean>
246   -
247   - &lt;!-- The JMS server -->
248   - &lt;bean name="BackupJMSServerManager" class="org.hornetq.jms.server.impl.JMSServerManagerImpl">
249   - &lt;constructor>
250   - &lt;parameter>
251   - &lt;inject bean="BackupHornetQServer"/>
252   - &lt;/parameter>
253   - &lt;/constructor>
254   - &lt;/bean>
255   -
256   - &lt;/deployment>
  219 + &lt;?xml version="1.0" encoding="UTF-8"?>
  220 +
  221 + &lt;deployment xmlns="urn:jboss:bean-deployer:2.0">
  222 +
  223 + &lt;!-- The core configuration -->
  224 + &lt;bean name="BackupConfiguration" class="org.hornetq.core.config.impl.FileConfiguration">
  225 + &lt;property
  226 + name="configurationUrl">${jboss.server.home.url}/deploy/hornetq-backup1/hornetq-configuration.xml&lt;/property>
  227 + &lt;/bean>
  228 +
  229 +
  230 + &lt;!-- The core server -->
  231 + &lt;bean name="BackupHornetQServer" class="org.hornetq.core.server.impl.HornetQServerImpl">
  232 + &lt;constructor>
  233 + &lt;parameter>
  234 + &lt;inject bean="BackupConfiguration"/>
  235 + &lt;/parameter>
  236 + &lt;parameter>
  237 + &lt;inject bean="MBeanServer"/>
  238 + &lt;/parameter>
  239 + &lt;parameter>
  240 + &lt;inject bean="HornetQSecurityManager"/>
  241 + &lt;/parameter>
  242 + &lt;/constructor>
  243 + &lt;start ignored="true"/>
  244 + &lt;stop ignored="true"/>
  245 + &lt;/bean>
  246 +
  247 + &lt;!-- The JMS server -->
  248 + &lt;bean name="BackupJMSServerManager" class="org.hornetq.jms.server.impl.JMSServerManagerImpl">
  249 + &lt;constructor>
  250 + &lt;parameter>
  251 + &lt;inject bean="BackupHornetQServer"/>
  252 + &lt;/parameter>
  253 + &lt;/constructor>
  254 + &lt;/bean>
  255 +
  256 + &lt;/deployment>
257 257 </programlisting>
258 258 <para>
259 259 The first thing to notice is the BackupConfiguration bean. This is configured to pick up the
@@ -284,101 +284,104 @@
284 284 and configure it like so:
285 285 </para>
286 286 <programlisting>
287   - &lt;configuration xmlns="urn:hornetq"
288   - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
289   - xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
290   -
291   - &lt;jmx-domain>org.hornetq.backup1&lt;/jmx-domain>
292   -
293   - &lt;clustered>true&lt;/clustered>
294   -
295   - &lt;backup>true&lt;/backup>
296   -
297   - &lt;shared-store>true&lt;/shared-store>
298   -
299   - &lt;allow-failback>true&lt;/allow-failback>
300   -
301   - &lt;log-delegate-factory-class-name>org.hornetq.integration.logging.Log4jLogDelegateFactory&lt;/log-delegate-factory-class-name>
302   -
303   - &lt;bindings-directory>/media/shared/data/hornetq-backup/bindings&lt;/bindings-directory>
304   -
305   - &lt;journal-directory>/media/shared/data/hornetq-backup/journal&lt;/journal-directory>
306   -
307   - &lt;journal-min-files>10&lt;/journal-min-files>
308   -
309   - &lt;large-messages-directory>/media/shared/data/hornetq-backup/largemessages&lt;/large-messages-directory>
310   -
311   - &lt;paging-directory>/media/shared/data/hornetq-backup/paging&lt;/paging-directory>
312   -
313   - &lt;connectors>
314   - &lt;connector name="netty-connector">
315   - &lt;factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory&lt;/factory-class>
316   - &lt;param key="host" value="${jboss.bind.address:localhost}"/>
317   - &lt;param key="port" value="${hornetq.remoting.backup.netty.port:5446}"/>
318   - &lt;/connector>
319   -
320   - &lt;connector name="in-vm">
321   - &lt;factory-class>org.hornetq.core.remoting.impl.invm.InVMConnectorFactory&lt;/factory-class>
322   - &lt;param key="server-id" value="${hornetq.server-id:0}"/>
323   - &lt;/connector>
324   -
325   - &lt;/connectors>
326   -
327   - &lt;acceptors>
328   - &lt;acceptor name="netty">
329   - &lt;factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory&lt;/factory-class>
330   - &lt;param key="host" value="${jboss.bind.address:localhost}"/>
331   - &lt;param key="port" value="${hornetq.remoting.backup.netty.port:5446}"/>
332   - &lt;/acceptor>
333   - &lt;/acceptors>
334   -
335   - &lt;broadcast-groups>
336   - &lt;broadcast-group name="bg-group1">
337   - &lt;group-address>231.7.7.7&lt;/group-address>
338   - &lt;group-port>9876&lt;/group-port>
339   - &lt;broadcast-period>1000&lt;/broadcast-period>
340   - &lt;connector-ref>netty-connector&lt;/connector-ref>
341   - &lt;/broadcast-group>
342   - &lt;/broadcast-groups>
343   -
344   - &lt;discovery-groups>
345   - &lt;discovery-group name="dg-group1">
346   - &lt;group-address>231.7.7.7&lt;/group-address>
347   - &lt;group-port>9876&lt;/group-port>
348   - &lt;refresh-timeout>60000&lt;/refresh-timeout>
349   - &lt;/discovery-group>
350   - &lt;/discovery-groups>
351   -
352   - &lt;cluster-connections>
353   - &lt;cluster-connection name="my-cluster">
354   - &lt;address>jms&lt;/address>
355   - &lt;connector-ref>netty-connector&lt;/connector-ref>
356   - &lt;discovery-group-ref discovery-group-name="dg-group1"/>
357   - &lt;/cluster-connection>
358   - &lt;/cluster-connections>
359   -
360   - &lt;security-settings>
361   - &lt;security-setting match="#">
362   - &lt;permission type="createNonDurableQueue" roles="guest"/>
363   - &lt;permission type="deleteNonDurableQueue" roles="guest"/>
364   - &lt;permission type="consume" roles="guest"/>
365   - &lt;permission type="send" roles="guest"/>
366   - &lt;/security-setting>
367   - &lt;/security-settings>
368   -
369   - &lt;address-settings>
370   - &lt;!--default for catch all-->
371   - &lt;address-setting match="#">
372   - &lt;dead-letter-address>jms.queue.DLQ&lt;/dead-letter-address>
373   - &lt;expiry-address>jms.queue.ExpiryQueue&lt;/expiry-address>
374   - &lt;redelivery-delay>0&lt;/redelivery-delay>
375   - &lt;max-size-bytes>10485760&lt;/max-size-bytes>
376   - &lt;message-counter-history-day-limit>10&lt;/message-counter-history-day-limit>
377   - &lt;address-full-policy>BLOCK&lt;/address-full-policy>
378   - &lt;/address-setting>
379   - &lt;/address-settings>
380   -
381   - &lt;/configuration>
  287 + &lt;configuration xmlns="urn:hornetq"
  288 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  289 + xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
  290 +
  291 + &lt;jmx-domain>org.hornetq.backup1&lt;/jmx-domain>
  292 +
  293 + &lt;clustered>true&lt;/clustered>
  294 +
  295 + &lt;backup>true&lt;/backup>
  296 +
  297 + &lt;shared-store>true&lt;/shared-store>
  298 +
  299 + &lt;allow-failback>true&lt;/allow-failback>
  300 +
  301 + &lt;log-delegate-factory-class-name>org.hornetq.integration.logging.Log4jLogDelegateFactory&lt;/log-delegate-factory-class-name>
  302 +
  303 + &lt;bindings-directory>/media/shared/data/hornetq-backup/bindings&lt;/bindings-directory>
  304 +
  305 + &lt;journal-directory>/media/shared/data/hornetq-backup/journal&lt;/journal-directory>
  306 +
  307 + &lt;journal-min-files>10&lt;/journal-min-files>
  308 +
  309 + &lt;large-messages-directory>/media/shared/data/hornetq-backup/largemessages&lt;/large-messages-directory>
  310 +
  311 + &lt;paging-directory>/media/shared/data/hornetq-backup/paging&lt;/paging-directory>
  312 +
  313 + &lt;connectors>
  314 + &lt;connector name="netty-connector">
  315 + &lt;factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory&lt;/factory-class>
  316 + &lt;param key="host" value="${jboss.bind.address:localhost}"/>
  317 + &lt;param key="port" value="${hornetq.remoting.backup.netty.port:5446}"/>
  318 + &lt;/connector>
  319 +
  320 + &lt;connector name="in-vm">
  321 + &lt;factory-class>org.hornetq.core.remoting.impl.invm.InVMConnectorFactory&lt;/factory-class>
  322 + &lt;param key="server-id" value="${hornetq.server-id:0}"/>
  323 + &lt;/connector>
  324 +
  325 + &lt;/connectors>
  326 +
  327 + &lt;acceptors>
  328 + &lt;acceptor name="netty">
  329 + &lt;factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory&lt;/factory-class>
  330 + &lt;param key="host" value="${jboss.bind.address:localhost}"/>
  331 + &lt;param key="port" value="${hornetq.remoting.backup.netty.port:5446}"/>
  332 + &lt;/acceptor>
  333 + &lt;/acceptors>
  334 +
  335 + &lt;broadcast-groups>
  336 + &lt;broadcast-group name="bg-group1">
  337 + &lt;group-address>231.7.7.7&lt;/group-address>
  338 + &lt;group-port>9876&lt;/group-port>
  339 + &lt;broadcast-period>1000&lt;/broadcast-period>
  340 + &lt;connector-ref>netty-connector&lt;/connector-ref>
  341 + &lt;/broadcast-group>
  342 + &lt;/broadcast-groups>
  343 +
  344 + &lt;discovery-groups>
  345 + &lt;discovery-group name="dg-group1">
  346 + &lt;group-address>231.7.7.7&lt;/group-address>
  347 + &lt;group-port>9876&lt;/group-port>
  348 + &lt;refresh-timeout>60000&lt;/refresh-timeout>
  349 + &lt;/discovery-group>
  350 + &lt;/discovery-groups>
  351 +
  352 + &lt;cluster-connections>
  353 + &lt;cluster-connection name="my-cluster">
  354 + &lt;address>jms&lt;/address>
  355 + &lt;connector-ref>netty-connector&lt;/connector-ref>
  356 + &lt;discovery-group-ref discovery-group-name="dg-group1"/>
  357 + &lt;!--max hops defines how messages are redistributed, the default is 1 meaning only distribute to directly
  358 + connected nodes, to disable set to 0-->
  359 + &lt;!--&lt;max-hops>0&lt;/max-hops>-->
  360 + &lt;/cluster-connection>
  361 + &lt;/cluster-connections>
  362 +
  363 + &lt;security-settings>
  364 + &lt;security-setting match="#">
  365 + &lt;permission type="createNonDurableQueue" roles="guest"/>
  366 + &lt;permission type="deleteNonDurableQueue" roles="guest"/>
  367 + &lt;permission type="consume" roles="guest"/>
  368 + &lt;permission type="send" roles="guest"/>
  369 + &lt;/security-setting>
  370 + &lt;/security-settings>
  371 +
  372 + &lt;address-settings>
  373 + &lt;!--default for catch all-->
  374 + &lt;address-setting match="#">
  375 + &lt;dead-letter-address>jms.queue.DLQ&lt;/dead-letter-address>
  376 + &lt;expiry-address>jms.queue.ExpiryQueue&lt;/expiry-address>
  377 + &lt;redelivery-delay>0&lt;/redelivery-delay>
  378 + &lt;max-size-bytes>10485760&lt;/max-size-bytes>
  379 + &lt;message-counter-history-day-limit>10&lt;/message-counter-history-day-limit>
  380 + &lt;address-full-policy>BLOCK&lt;/address-full-policy>
  381 + &lt;/address-setting>
  382 + &lt;/address-settings>
  383 +
  384 + &lt;/configuration>
382 385
383 386 </programlisting>
384 387 <para>
@@ -430,6 +433,10 @@
430 433 The Broadcast groups, Discovery group and cluster configurations are as per normal, details of these
431 434 can be found in the HornetQ user manual.
432 435 </para>
  436 + <note>
  437 + <para>notice the commented out <literal>max-hops</literal> in the cluster connection, set this to 0 if
  438 + you want to disable server side load balancing.</para>
  439 + </note>
433 440 <para>
434 441 When the backup becomes it will be not be servicing any JEE components on this eap instance. Instead any
435 442 existing messages will be redistributed around the cluster and new messages forwarded to and from the backup
@@ -524,26 +531,26 @@
524 531 as in the last diagram. Then simply edit the <literal>jms-ds.xml</literal> and change the following lines to
525 532 </para>
526 533 <programlisting>
527   - &lt;config-property name="ConnectorClassName" type="java.lang.String">org.hornetq.core.remoting.impl.netty.NettyConnectorFactory&lt;/config-property>
528   - &lt;config-property name="ConnectionParameters" type="java.lang.String">host=127.0.0.1;port=5446&lt;/config-property>
  534 + &lt;config-property name="ConnectorClassName" type="java.lang.String">org.hornetq.core.remoting.impl.netty.NettyConnectorFactory&lt;/config-property>
  535 + &lt;config-property name="ConnectionParameters" type="java.lang.String">host=127.0.0.1;port=5446&lt;/config-property>
529 536 </programlisting>
530 537 <para>
531 538 This will change the outbound JCA connector, to configure the inbound connector for MDB's edit the
532 539 <literal>ra.xml</literal> config file and change the following parameters.
533 540 </para>
534 541 <programlisting>
535   - &lt;config-property>
536   - &lt;description>The transport type&lt;/description>
537   - &lt;config-property-name>ConnectorClassName&lt;/config-property-name>
538   - &lt;config-property-type>java.lang.String&lt;/config-property-type>
539   - &lt;config-property-value>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory&lt;/config-property-value>
540   - &lt;/config-property>
541   - &lt;config-property>
542   - &lt;description>The transport configuration. These values must be in the form of key=val;key=val;&lt;/description>
543   - &lt;config-property-name>ConnectionParameters&lt;/config-property-name>
544   - &lt;config-property-type>java.lang.String&lt;/config-property-type>
545   - &lt;config-property-value>host=127.0.0.1;port=5446&lt;/config-property-value>
546   - &lt;/config-property>
  542 + &lt;config-property>
  543 + &lt;description>The transport type&lt;/description>
  544 + &lt;config-property-name>ConnectorClassName&lt;/config-property-name>
  545 + &lt;config-property-type>java.lang.String&lt;/config-property-type>
  546 + &lt;config-property-value>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory&lt;/config-property-value>
  547 + &lt;/config-property>
  548 + &lt;config-property>
  549 + &lt;description>The transport configuration. These values must be in the form of key=val;key=val;&lt;/description>
  550 + &lt;config-property-name>ConnectionParameters&lt;/config-property-name>
  551 + &lt;config-property-type>java.lang.String&lt;/config-property-type>
  552 + &lt;config-property-value>host=127.0.0.1;port=5446&lt;/config-property-value>
  553 + &lt;/config-property>
547 554 </programlisting>
548 555 <para>
549 556 In both cases the host and port should match your live server. If you are using Discovery then set the
305 docs/eap-manual/pom.xml
... ... @@ -0,0 +1,305 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<!--
  3 + ~ Copyright 2009 Red Hat, Inc.
  4 + ~ Red Hat licenses this file to you under the Apache License, version
  5 + ~ 2.0 (the "License"); you may not use this file except in compliance
  6 + ~ with the License. You may obtain a copy of the License at
  7 + ~ http://www.apache.org/licenses/LICENSE-2.0
  8 + ~ Unless required by applicable law or agreed to in writing, software
  9 + ~ distributed under the License is distributed on an "AS IS" BASIS,
  10 + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  11 + ~ implied. See the License for the specific language governing
  12 + ~ permissions and limitations under the License.
  13 + -->
  14 +
  15 +<project xmlns="http://maven.apache.org/POM/4.0.0"
  16 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  17 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  18 +
  19 + <modelVersion>4.0.0</modelVersion>
  20 + <groupId>org.jboss.project</groupId>
  21 + <artifactId>${docname}-${translation}</artifactId>
  22 + <version>1.0</version>
  23 + <packaging>jdocbook</packaging>
  24 + <name>${bookname}-(${translation})</name>
  25 +
  26 + <properties>
  27 + <translation>en</translation>
  28 + <docname>HornetQ_EAP_Manual</docname>
  29 + <bookname>HornetQ EAP Manual</bookname>
  30 + </properties>
  31 +
  32 + <repositories>
  33 + <repository>
  34 + <id>jboss-public-repository-group</id>
  35 + <name>JBoss Public Maven Repository Group</name>
  36 + <url>https://repository.jboss.org/nexus/content/groups/public/</url>
  37 + <layout>default</layout>
  38 + <releases>
  39 + <enabled>true</enabled>
  40 + <updatePolicy>never</updatePolicy>
  41 + </releases>
  42 + <snapshots>
  43 + <enabled>true</enabled>
  44 + <updatePolicy>never</updatePolicy>
  45 + </snapshots>
  46 + </repository>
  47 + </repositories>
  48 + <pluginRepositories>
  49 + <pluginRepository>
  50 + <id>jboss-public-repository-group</id>
  51 + <name>JBoss Public Maven Repository Group</name>
  52 + <url>https://repository.jboss.org/nexus/content/groups/public/</url>
  53 + <layout>default</layout>
  54 + <releases>
  55 + <enabled>true</enabled>
  56 + </releases>
  57 + <snapshots>
  58 + <enabled>true</enabled>
  59 + </snapshots>
  60 + </pluginRepository>
  61 + <!--pluginRepository>
  62 + <id>jboss-snapshot-repository-group</id>
  63 + <name>JBoss Snapshot Maven Repository Group</name>
  64 + <url>https://repository.jboss.org/nexus/content/groups/snapshot/</url>
  65 + <layout>default</layout>
  66 + <releases>
  67 + <enabled>true</enabled>
  68 + </releases>
  69 + <snapshots>
  70 + <enabled>true</enabled>
  71 + </snapshots>
  72 + </pluginRepository-->
  73 + </pluginRepositories>
  74 +
  75 + <profiles>
  76 +
  77 + <!-- mvn compile -->
  78 + <profile>
  79 + <id>all</id>
  80 + <activation>
  81 + <activeByDefault>true</activeByDefault>
  82 + </activation>
  83 + <build>
  84 + <plugins>
  85 + <plugin>
  86 + <groupId>org.jboss.maven.plugins</groupId>
  87 + <artifactId>maven-jdocbook-plugin</artifactId>
  88 + <version>2.2.1</version>
  89 + <extensions>true</extensions>
  90 + <configuration>
  91 + <formats>
  92 + <format>
  93 + <formatName>pdf</formatName>
  94 + <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
  95 + <finalName>${docname}.pdf</finalName>
  96 + </format>
  97 + <format>
  98 + <formatName>html</formatName>
  99 + <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
  100 + <finalName>index.html</finalName>
  101 + </format>
  102 + <format>
  103 + <formatName>html_single</formatName>
  104 + <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
  105 + <finalName>index.html</finalName>
  106 + </format>
  107 + </formats>
  108 + </configuration>
  109 + </plugin>
  110 + </plugins>
  111 + </build>
  112 + </profile>
  113 +
  114 + <!-- mvn compile -Phtml -->
  115 + <profile>
  116 + <id>html</id>
  117 + <activation>
  118 + <activeByDefault>false</activeByDefault>
  119 + </activation>
  120 + <build>
  121 + <plugins>
  122 + <plugin>
  123 + <groupId>org.jboss.maven.plugins</groupId>
  124 + <artifactId>maven-jdocbook-plugin</artifactId>
  125 + <version>2.2.1</version>
  126 + <extensions>true</extensions>
  127 + <configuration>
  128 + <formats>
  129 + <format>
  130 + <formatName>html</formatName>
  131 + <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
  132 + <finalName>index.html</finalName>
  133 + </format>
  134 + </formats>
  135 + </configuration>
  136 + </plugin>
  137 + </plugins>
  138 + </build>
  139 + </profile>
  140 +
  141 + <!-- mvn compile -Phtml-single -->
  142 + <profile>
  143 + <id>html-single</id>
  144 + <activation>
  145 + <activeByDefault>false</activeByDefault>
  146 + </activation>
  147 + <build>
  148 + <plugins>
  149 + <plugin>
  150 + <groupId>org.jboss.maven.plugins</groupId>
  151 + <artifactId>maven-jdocbook-plugin</artifactId>
  152 + <version>2.2.1</version>
  153 + <extensions>true</extensions>
  154 + </plugin>
  155 + </plugins>
  156 + </build>
  157 + </profile>
  158 +
  159 + <!-- mvn compile -Ppdf -->
  160 + <profile>
  161 + <id>pdf</id>
  162 + <activation>
  163 + <activeByDefault>false</activeByDefault>
  164 + </activation>
  165 + <build>
  166 + <plugins>
  167 + <plugin>
  168 + <groupId>org.jboss.maven.plugins</groupId>
  169 + <artifactId>maven-jdocbook-plugin</artifactId>
  170 + <version>2.1.0</version>
  171 + <extensions>true</extensions>
  172 + <configuration>
  173 + <formats>
  174 + <format>
  175 + <formatName>pdf</formatName>
  176 + <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
  177 + <finalName>${docname}.pdf</finalName>
  178 + </format>
  179 + </formats>
  180 + </configuration>
  181 + </plugin>
  182 + </plugins>
  183 + </build>
  184 + </profile>
  185 +
  186 + </profiles>
  187 + <build>
  188 + <pluginManagement>
  189 + <plugins>
  190 + <plugin>
  191 + <groupId>org.jboss.maven.plugins</groupId>
  192 + <artifactId>maven-jdocbook-plugin</artifactId>
  193 + <version>2.2.1</version>
  194 + <extensions>true</extensions>
  195 + <dependencies>
  196 + <dependency>
  197 + <groupId>org.jboss.pressgang</groupId>
  198 + <artifactId>pressgang-xslt</artifactId>
  199 + <version>1.2.0</version>
  200 + </dependency>
  201 + <dependency>
  202 + <groupId>org.jboss</groupId>
  203 + <artifactId>jbossorg-jdocbook-style</artifactId>
  204 + <version>1.1.1</version>
  205 + <type>jdocbook-style</type>
  206 + </dependency>
  207 + </dependencies>
  208 + <configuration>
  209 + <sourceDirectory>${project.basedir}</sourceDirectory>