[jboss-cvs] JBoss Messaging SVN: r6738 - trunk/docs/reference-guide/en/modules.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue May 12 05:25:13 EDT 2009
Author: jmesnil
Date: 2009-05-12 05:25:13 -0400 (Tue, 12 May 2009)
New Revision: 6738
Modified:
trunk/docs/reference-guide/en/modules/server-configuration.xml
Log:
reference guide
* documented some server configuration properties
Modified: trunk/docs/reference-guide/en/modules/server-configuration.xml
===================================================================
--- trunk/docs/reference-guide/en/modules/server-configuration.xml 2009-05-12 09:11:49 UTC (rev 6737)
+++ trunk/docs/reference-guide/en/modules/server-configuration.xml 2009-05-12 09:25:13 UTC (rev 6738)
@@ -266,37 +266,71 @@
</section>
<section id="cluster-connections.configuration">
<title>cluster-connections</title>
- <para>TODO</para>
+ <para>The <literal>cluster-connections</literal> defines zero or more <literal>cluster-connection</literal> which are used
+ for replication among cluster nodes.</para>
<variablelist>
<varlistentry>
<term>description</term>
- <listitem><para>TODO</para></listitem>
+ <listitem><para>A <literal>cluster-connection</literal> configuration is composed of the following elements:</para>
+ <itemizedlist>
+ <listitem><para><literal>address</literal> -- the name of the address where messages are delivered</para></listitem>
+ <listitem><para><literal>retry-interval</literal> -- interval (in milliseconds) to retry to connect to the other node
+ (specified by <ulink url="../../../api/org/jboss/messaging/core/client/impl/ClientSessionFactoryImpl.html#DEFAULT_RETRY_INTERVAL">DEFAULT_RETRY_INTERVAL</ulink>)</para></listitem>
+ <listitem><para><literal>use-duplicate-detection</literal> -- set to <literal>true</literal> to use duplicate detection
+ (specified by <ulink url="../../../api/org/jboss/messaging/core/config/impl/ConfigurationImpl.html#DEFAULT_BRIDGE_DUPLICATE_DETECTION">DEFAULT_BRIDGE_DUPLICATE_DETECTION</ulink>)</para></listitem>
+ <listitem><para><literal>forward-when-no-consumers</literal> -- set to <literal>true</literal> to forward messages when there is no local consumers
+ (specified by <ulink url="../../../api/org/jboss/messaging/core/config/impl/ConfigurationImpl.html#DEFAULT_CLUSTER_FORWARD_WHEN_NO_CONSUMERS">DEFAULT_CLUSTER_FORWARD_WHEN_NO_CONSUMERS</ulink>)</para></listitem>
+ <listitem><para><literal>max-hops</literal> -- maximum distance in the cluster to route a message
+ (specified by <ulink url="../../../api/org/jboss/messaging/core/config/impl/ConfigurationImpl.html#DEFAULT_CLUSTER_MAX_HOPS">DEFAULT_CLUSTER_MAX_HOPS</ulink>)</para></listitem>
+ <listitem><para>either a <literal>connector-ref</literal> to specify a <link linkend="connectors.configuration">connector</link>
+ (and a backup connector) or a <literal>discovery-group-ref</literal>
+ to use a <link linkend="discovery-groups.configuration">discovery group</link> instead</para></listitem>
+ </itemizedlist>
+ <para>The <literal>cluster-connection</literal>'s <literal>name</literal> attribute is mandatory.</para>
+ </listitem>
</varlistentry>
<varlistentry>
<term>example</term>
<listitem><programlisting>
- TODO
+<cluster-connections>
+ <cluster-connection name="my-cluster">
+ <address>jms</address>
+ <retry-interval>500</retry-interval>
+ <use-duplicate-detection>true</use-duplicate-detection>
+ <forward-when-no-consumers>true</forward-when-no-consumers>
+ <max-hops>1</max-hops>
+ <!-- a discovery group named "my-discovery-group" has been defined -->
+ <discovery-group-ref discovery-group-name="my-discovery-group"/>
+ </cluster-connection>
+</cluster-connections>
</programlisting></listitem>
</varlistentry>
</variablelist>
</section>
<section id="remoting-interceptors.configuration">
<title>remoting-interceptors</title>
+ <para>The <literal>remoting-interceptors</literal> defines zero or more <literal>remoting-interceptor</literal> which are used
+ to intercept packet sent on the wire.</para>
<variablelist>
<varlistentry>
- <term>type</term>
- <listitem><para>TODO</para></listitem>
+ <term>description</term>
+ <listitem><para>A <literal>remoting-interceptor</literal> configuration is composed of a sequence of the following element:</para>
+ <itemizedlist>
+ <listitem><para><literal>class-name</literal> -- the name of a Java class implementing
+ <ulink url="../../../api/org/jboss/messaging/core/remoting/Interceptor.html">Interceptor</ulink>)</para></listitem>
+ </itemizedlist>
+ </listitem>
</varlistentry>
<varlistentry>
- <term>default</term>
- <listitem><para>TODO</para></listitem>
- </varlistentry>
- <varlistentry>
- <term>description</term>
- <listitem><para>TODO</para></listitem>
- </varlistentry>
- </variablelist>
- </section>
+ <term>example</term>
+ <listitem><programlisting>
+<remoting-interceptors>
+ <class-name>org.jboss.jms.example.SimpleInterceptor</class-name>
+</remoting-interceptors>
+ </programlisting></listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
</section>
<section id="persistence.configuration">
More information about the jboss-cvs-commits
mailing list