msgUnitArr = this.synchronousCache.get(getKey, getQos);
if (log.isLoggable(Level.FINE)) log.fine(getLogId()+"CacheDump: msgUnitArr=" + msgUnitArr + ": '" + getKey.toXml().trim() + "' \n" + getQos.toXml() + this.synchronousCache.toXml(""));
//not found in this.synchronousCache
if(msgUnitArr == null) {
msgUnitArr = get(getKey, getQos); //get messages from xmlBlaster (synchronous)
SubscribeKey subscribeKey = new SubscribeKey(glob, getKey.getData());
SubscribeQos subscribeQos = new SubscribeQos(glob, getQos.getData());
SubscribeReturnQos subscribeReturnQos = null;
synchronized (this.synchronousCache) {
subscribeReturnQos = subscribe(subscribeKey, subscribeQos); //subscribe to this messages (asynchronous)
this.synchronousCache.newEntry(subscribeReturnQos.getSubscriptionId(), getKey, msgUnitArr); //fill messages to this.synchronousCache