David R Robison
Tue, 13 Nov 2007 06:16:35 -0800
Thanks. In case others are interested, the correct call was:MsgUnit[] msgUnit = xmlBlaster.get("<key oid='__cmd:" + data.session + "/?peekCallbackMessages'/>", "<qos><querySpec type='QueueQuery'><![CDATA[100]]></querySpec></qos>");
David Marcel Ruff wrote:
Hi David, the way to query queues is described inhttp://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.htmlThe notation you have described seems to be broken in the current xmlBlaster,we need to check this, regards Marcel David R Robison wrote:How would I call the peek admin message? I am trying it as:MsgUnit[] msgUnit = xmlBlaster.get("<key oid='__cmd:" + data.session + "/?peekCallbackMessages&50'/>", "<qos/>");but getting the errorerrorCode=resource.configuration message=#exported Error while SAX parsing :1:79 : org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.any thoughts? TNX David
-- David R Robison Open Roads Consulting, Inc. 708 S. Battlefield Blvd., Chesapeake, VA 23322 phone: (757) 546-3401 e-mail: [EMAIL PROTECTED] web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/book_detail.php?id=2579