Package org.hornetq.jms.server.recovery

Examples of org.hornetq.jms.server.recovery.RecoveryDiscovery


      String factClass = "org.hornetq.core.remoting.impl.netty.NettyConnectorFactory";
      TransportConfiguration transportConfig = new TransportConfiguration(factClass, null, "netty");
      XARecoveryConfig config = new XARecoveryConfig(false, new TransportConfiguration[] {transportConfig},
                                                     null, null);
     
      RecoveryDiscovery discovery1 = new RecoveryDiscovery(config);
      RecoveryDiscovery discovery2 = new RecoveryDiscovery(config);
      assertTrue(discoverySet.add(discovery1));
      assertFalse(discoverySet.add(discovery2));
      assertEquals("should have only one in the set", 1, discoverySet.size());

   }
View Full Code Here

TOP

Related Classes of org.hornetq.jms.server.recovery.RecoveryDiscovery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.