// if (!(data instanceof QueryKeyData)) return; // this filters away child subscriptions
if (subscriptionInfo.isCreatedByQuerySubscription()) return;
// TODO add a method I_Queue.removeRandom(long uniqueId)
QueryQosData subscribeQosData = subscriptionInfo.getQueryQosData();
if (log.isLoggable(Level.FINEST)) log.finest("subscriptionAdd: key='" + data.toXml() + "'");
if (subscribeQosData != null) if (log.isLoggable(Level.FINEST)) log.finest("subscriptionAdd: qos='" + subscribeQosData.toXml() + "'");
if (subscribeQosData == null || !subscribeQosData.isPersistent()) return;
SessionInfo sessionInfo = subscriptionInfo.getSessionInfo();
if (!sessionInfo.getConnectQos().getData().isPersistent()) {