REQUIREMENT engine.qos.update.subscriptionId |
Type | NEW |
Priority | LOW |
Status | CLOSED |
Topic | XmlBlaster sends the subscription id in the qos arguments of an update |
Des cription |
Sometimes when a client receives an update message, she wants to know
which of its subscriptions caused this update. You may retrieve the subscription id
in the qos argument of the update using the <subscribe id=''> tag. Update messages which where sent as PtP messages (and therefore where not subscribed) are marked with <subscribe id='__subId:PtP'> |
Example Java |
<qos> <subscribe id='__subId:2'/> <!-- The same id which you got returned from your previous subscribe() --> </qos> |
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 API | org.xmlBlaster.client.qos.UpdateQos |
See API | org.xmlBlaster.client.key.UpdateKey |
See TEST | org.xmlBlaster.test.qos.TestSub |
This page is generated from the requirement XML file xmlBlaster/doc/requirements/engine.qos.update.subscriptionId.xml