Author: nfilotto
Date: 2011-12-06 08:40:35 -0500 (Tue, 06 Dec 2011)
New Revision: 5271
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/kernel/rpc-service.xml
Log:
EXOJCR-1672: Propose an RPCService implementation based on JGroups 3 (doc)
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/kernel/rpc-service.xml
===================================================================
---
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/kernel/rpc-service.xml 2011-12-06
13:40:17 UTC (rev 5270)
+++
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/kernel/rpc-service.xml 2011-12-06
13:40:35 UTC (rev 5271)
@@ -128,8 +128,9 @@
<title>Configuration</title>
<para>The configuration of the <emphasis>RPCService</emphasis>
should be
- added only in a cluster environment. See below an example of
- configuration</para>
+ added only in a cluster environment. See below an example of configuration
+ in case you intend to use JGroups 2 (which is mandatory if you use JBoss
+ Cache as underlying cache):</para>
<programlisting language="xml"><configuration>
....
@@ -162,6 +163,44 @@
...
</configuration></programlisting>
+ <para>See below an example of configuration in case you intend to use
+ JGroups 3 (which is mandatory if you use Infinispan as underlying
+ cache):</para>
+
+ <programlisting language="xml"><configuration>
+....
+ <component>
+ <key>org.exoplatform.services.rpc.RPCService</key>
+
<type>org.exoplatform.services.rpc.jgv3.RPCServiceImpl</type>
+ <init-params>
+ <value-param>
+ <name>jgroups-configuration</name>
+ <value>classpath:/udp.xml</value>
+ </value-param>
+ <value-param>
+ <name>jgroups-cluster-name</name>
+ <value>RPCService-Cluster</value>
+ </value-param>
+ <value-param>
+ <name>jgroups-default-timeout</name>
+ <value>0</value>
+ </value-param>
+ <value-param>
+ <name>allow-failover</name>
+ <value>true</value>
+ </value-param>
+ <value-param>
+ <name>retry-timeout</name>
+ <value>20000</value>
+ </value-param>
+ </init-params>
+ </component>
+...
+</configuration></programlisting>
+
+ <para>The implementation for JGroups 3 is available in the library
+
<emphasis>exo.kernel.component.ext.rpc.impl.jgroups.v3-X.Y.Z.jar</emphasis>.</para>
+
<table>
<title>Fields description</title>
Show replies by date