RemoteCommandManager rcm = (RemoteCommandManager)session.getCommandManager();
if(rcm.isStopped()){
throw RemoteCommandManagerException.remoteCommandManagerIsClosed();
}
JMSTopicRemoteConnection connection = (JMSTopicRemoteConnection)rcm.getTransportManager().getConnectionToLocalHost();
connection.onMessage(message);
}
}