public synchronized IntermediateSession createIntermediateSession(IntermediateSessionParams params) {
        IntermediateSession session = createDetachedIntermediateSession(params);
        connect(params.getName(), params.getBroadcastName());
        return session;
    }
<p>Creates an intermediate session on top of this message bus using the
given handlers and parameter object.</p>

@param params The parameters to control the session.
@return The created session.
messagebus/src/main/java/com/yahoo/messagebus/MessageBus.java