See the WebSphere eXtreme Scale Wiki for links to eXtreme Scale Version 7.0 documentation.
If you log in
with your developerWorks ID, you can leave comments and feedback for the development team.
The Java Message Service (JMS) based peer-to-peer replication mechanism is used in both the distributed and local ObjectGrid environment. It is an ObjectGrid core-to-core replication process and allows data updates flow among local ObjectGrids and distributed ObjectGrids. For example, with this mechanism you can move data updates from an ObjectGrid cluster to a local ObjectGrid, or from an ObjectGrid cluster to another ObjectGrid cluster in different system domains.
The JMS-based peer-to-peer replication mechanism is based on the built-in JMS-based ObjectGridEventListener, com.ibm.websphere.objectgrid.plugins.builtins.JMSObjectGridEventListener. For detailed information regarding enabling peer-to-peer replication mechanism, see JMSObjectGridEventListener API Documentation
The following is an Extensible Markup Language (XML) configuration example to enable a peer-to-peer replication mechanism on an ObjectGrid configuration:
<bean id="ObjectGridEventListener" className="com.ibm.websphere.objectgrid.plugins.JMSObjectGridEventListener">
<property name="replicationRole" type="java.lang.String" value="DUAL_ROLES" description="" />
<property name="replicationStrategy" type="java.lang.String" value="PUSH" description="" />
<property name="jms_topicConnectionFactoryJndiName" type="java.lang.String" value="defaultTCF" description="" />
<property name="jms_topicJndiName" type="java.lang.String" value="defaultTopic" description="" />
<property name="jms_topicName" type="java.lang.String" value="defaultTopic" description="" />
<property name="jms_userid" type="java.lang.String" value="" description="" />
<property name="jms_password" type="java.lang.String" value="" description="" />
<property name="jndi_properties" type="java.lang.String"
value="java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory;java.naming.provider.url=tcp://localhost:61616;connectionFactoryNames=defaultTCF;topic.defaultTopic=defaultTopic"
description="jndi properties" />
</bean>
© Copyright IBM Corporation 2007,2009. All Rights Reserved.