REQUIREMENT engine.get.no |
Type | BUG |
Priority | LOW |
Status | CLOSED |
Topic | Accessing an unknown message in xmlBlaster with the synchronous get() method throws an Exception |
Des cription |
|
Example Java |
try { String xmlKey = "<key oid='NotExistingMessage' queryType='EXACT'></key>"; String qos = "<qos></qos>"; MsgUnit[] msgArr = xmlBlaster.get(xmlKey, qos); } catch(XmlBlasterException e) { System.out.println("Success, caught Exception for trying to get unknown message: "+e.getMessage()); } |
Configure |
NOTE: Configuration parameters are specified on command line (-someValue 17) or in the
xmlBlaster.properties file (someValue=17). See requirement "util.property" for details. |
See TEST | org.xmlBlaster.test.qos.TestGet |
This page is generated from the requirement XML file xmlBlaster/doc/requirements/engine.get.no.xml