[hornetq-commits] JBoss hornetq SVN: r10066 - trunk/examples/jms/multiple-failover-failback/src/org/hornetq/jms/example.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Dec 22 03:37:30 EST 2010
Author: pslavice at redhat.com
Date: 2010-12-22 03:37:28 -0500 (Wed, 22 Dec 2010)
New Revision: 10066
Modified:
trunk/examples/jms/multiple-failover-failback/src/org/hornetq/jms/example/MultipleFailoverFailbackExample.java
Log:
Removed method getServer, this method has been moved into common/src/org/hornetq/common/example/HornetQExample.java in r10022, HORNETQ-595
Modified: trunk/examples/jms/multiple-failover-failback/src/org/hornetq/jms/example/MultipleFailoverFailbackExample.java
===================================================================
--- trunk/examples/jms/multiple-failover-failback/src/org/hornetq/jms/example/MultipleFailoverFailbackExample.java 2010-12-21 20:01:58 UTC (rev 10065)
+++ trunk/examples/jms/multiple-failover-failback/src/org/hornetq/jms/example/MultipleFailoverFailbackExample.java 2010-12-22 08:37:28 UTC (rev 10066)
@@ -151,12 +151,4 @@
}
}
}
-
- private int getServer(Connection connection)
- {
- DelegatingSession session = (DelegatingSession) ((HornetQConnection) connection).getInitialSession();
- TransportConfiguration transportConfiguration = session.getSessionFactory().getConnectorConfiguration();
- String port = (String) transportConfiguration.getParams().get("port");
- return Integer.valueOf(port) - 5445;
- }
}
More information about the hornetq-commits
mailing list