code: @Override
      public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException {
          connectionLock.readLock().lock();
          try {
              ManagedSession managedSession = new ManagedSession(
                      getConnection().createSession(transacted, acknowledgeMode),
                      transacted,
                      acknowledgeMode,
                      connectionDefinition.isJeeMode(),
                      this);
              sessions.add(managedSession);
              return managedSession;
          } finally {
              connectionLock.readLock().unlock();
          }
      }
docs: Delegated methods