IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
    
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerworks > My developerWorks >  Dashboard > WebSphere eXtreme Scale V6.1 User Guide > ... > ObjectGrid high availability > Peer to peer Replication with JMS
developerWorks
Log In   View a printable version of the current page.
Overview Connect Spaces Forums Wikis
Peer to peer Replication with JMS
Added by cheng1, last edited by saif.patel@us.ibm.com on Feb 09, 2009  (view change)
Labels: 
(None)

Getting Started Examples Reference API documentation

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:

JMS-based peer-to-peer replication mechanism xml configuration example
<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>
Wiki Disclaimer and License
© Copyright IBM Corporation 2007,2009. All Rights Reserved.
Docs Distributing changes between peer Java virtual machines (WebSphere eXtreme Scale V6.1 User Guide)


 
    About IBM Privacy Contact