[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Problem with publishing different keys



Hi!

It isn't possible to type any commands to my console (Win). Have to do some configurations? I remember that it was possible two years ago... (g for graphic...)

This is my key for publishing:
==============================
String keyOID = agentID + "___" + driverID + "___" + "status";
String key = "<key oid='" + keyOID +
             "' contentMime='text/xml' contentMimeExtended='status'>" +
             "<location source='" + agentID + "' driver='" + driverID +
             "'></location>" +
             "</key>";


I subscribe with XPATH:
=======================
sk = new SubscribeKey(glob, "", org.xmlBlaster.util.enum.Constants.XPATH);
sk.setOid(""+lOid); sk.setQueryString("//key[attribute::contentMimeExtended][attribute::contentMime='text/xml']");


sq = new SubscribeQos(this.glob);
sq.setWantInitialUpdate(false);

SubscribeReturnQos sr1 = con.subscribe(sk, sq);

Ciao
Andrea