code: public BaseMessageFilter linkRemoteSession(Object remoteSession)
      {
          return new ServerSessionMessageFilter(this.getQueueName(), this.getQueueType(), null, remoteSession, m_bPrivate, true); // This is hooked to a thin filter
      }
docs: Link this filter to this remote session.
  This is ONLY used in the server (remote) version of a filter.
  Override this to finish setting up the filter (such as behavior to adjust this filter).
  Or if the server version of this filter is different, you have a chance to change the filter.
  @param remoteSession The remote session to link/set.