src/main/java/org/efaps/ui/wicket/connectionregistry/RegistryManager.java
public static void addMsgConnection(final String _sessionId,
                                        final IKey _key)
    {
        if (RegistryManager.getCache().containsKey(_sessionId)) {
            RegistryManager.getCache().get(_sessionId).setConnectionKey(_key);
        }
        RegistryManager.LOG.debug("Added Message Connection for Session: {}", _sessionId);
    }
public static void addMsgConnection(final String _sessionId,
                                        final IKey _key)
    {
        if (RegistryManager.getCache().containsKey(_sessionId)) {
            RegistryManager.getCache().get(_sessionId).setConnectionKey(_key);
        }
        RegistryManager.LOG.debug("Added Message Connection for Session: {}", _sessionId);
    }
Adds the msg connection.

@param _sessionId the session ID
@param _key the key