public RemotingConnection removeConnection(final Object remotingConnectionID) { ConnectionEntry entry = connections.remove(remotingConnectionID); if (entry != null) { return entry.connection; } else { HornetQServerLogger.LOGGER.errorRemovingConnection(); return null; } }