Re: [xmlblaster] Calling peek admin message?
David R Robison wrote: Any idea of how to call this with two parameters? I am trying to call unSubscribeByIndex. Thanks, David Hi David, with our command syntax this is not possible, it was originally designed to support properties only and was never further developed. However it should be possible to access it with JMX (as jconsole is able to access it as well). This works fine here (tested from command line of the running xmlBlaster server console): j org.xmlBlaster:nodeClass=node,node=xmlBlaster_192_168_1_25_3412,clientClass=client,client=Subscriber,sessionClass=session,session=1/action=usage j org.xmlBlaster:nodeClass=node,node=xmlBlaster_192_168_1_25_3412,clientClass=client,client=Subscriber,sessionClass=session,session=1/action=peekCallbackMessages?p1+int=1p2+java.lang.String='Hello' Unfortunately your query i couldn't get to work: j org.xmlBlaster:nodeClass=node,node=xmlBlaster_192_168_1_25_3412,clientClass=client,client=Subscriber,sessionClass=session,session=1/action=unSubscribeByIndex?p1+int=1p2+java.lang.String='Hello' -- javax.management.AttributeNotFoundException: unSubscribeByIndex not accessible I don't know yet why ... Marcel David R Robison wrote: Thanks. In case others are interested, the correct call was: MsgUnit[] msgUnit = xmlBlaster.get(key oid='__cmd: + data.session + /?peekCallbackMessages'/, qosquerySpec type='QueueQuery'![CDATA[100]]/querySpec/qos); David Marcel Ruff wrote: Hi David, the way to query queues is described in http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html The 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 + /?peekCallbackMessages50'/, qos/); but getting the error errorCode=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 -- Marcel Ruff http://www.xmlBlaster.org
Re: [xmlblaster] Calling peek admin message?
Any idea of how to call this with two parameters? I am trying to call unSubscribeByIndex. Thanks, David David R Robison wrote: Thanks. In case others are interested, the correct call was: MsgUnit[] msgUnit = xmlBlaster.get(key oid='__cmd: + data.session + /?peekCallbackMessages'/, qosquerySpec type='QueueQuery'![CDATA[100]]/querySpec/qos); David Marcel Ruff wrote: Hi David, the way to query queues is described in http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html The 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 + /?peekCallbackMessages50'/, qos/); but getting the error errorCode=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
Re: [xmlblaster] Calling peek admin message?
Hi David, the way to query queues is described in http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html The 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 + /?peekCallbackMessages50'/, qos/); but getting the error errorCode=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 -- Marcel Ruff http://www.xmlBlaster.org
Re: [xmlblaster] Calling peek admin message?
Thanks. In case others are interested, the correct call was: MsgUnit[] msgUnit = xmlBlaster.get(key oid='__cmd: + data.session + /?peekCallbackMessages'/, qosquerySpec type='QueueQuery'![CDATA[100]]/querySpec/qos); David Marcel Ruff wrote: Hi David, the way to query queues is described in http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html The 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 + /?peekCallbackMessages50'/, qos/); but getting the error errorCode=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
[xmlblaster] Calling peek admin message?
How would I call the peek admin message? I am trying it as: MsgUnit[] msgUnit = xmlBlaster.get(key oid='__cmd: + data.session + /?peekCallbackMessages50'/, qos/); but getting the error errorCode=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