Author: timfox
Date: 2010-01-08 11:38:13 -0500 (Fri, 08 Jan 2010)
New Revision: 8782
Modified:
trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
https://jira.jboss.org/jira/browse/HORNETQ-261
Modified: trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2010-01-08 15:59:58
UTC (rev 8781)
+++ trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java 2010-01-08 16:38:13
UTC (rev 8782)
@@ -631,15 +631,6 @@
securityStore.authenticate(username, password);
}
- ServerSession currentSession = sessions.remove(name);
-
- if (currentSession != null)
- {
- // This session may well be on a different connection and different channel id,
so we must get rid
- // of it and create another
- currentSession.getChannel().close();
- }
-
Channel channel = connection.getChannel(channelID, sendWindowSize);
Executor sessionExecutor = executorFactory.getExecutor();