Subscribing to the 5620-SAM-topic-xml-filtered topic
The Probe for Nokia NFM-P can subscribe to the 5620-SAM-topic-xml-filtered
topic.
This topic supports the advanced JMS message filter which allows you
to base event message selection on the content of the event message
body.
To subscribe to the 5620-SAM-topic-xml-filtered
topic,
set the JmsTopic property to 5620-SAM-topic-xml-filtered.
The
probe will receive events of type EventVessel
and XMLFilterChange
.
You can limit the messages that the NFM-P sever sends to the probe
by specifying an XML filter using the AdvancedFilterConfigFile property.
You
can dynamically modify the XML message filter when the probe is running
by issuing a registerNotification
command from the
CLI, or you can specify an alternative XML filter by issuing a registerNotificationFile
command.
For details of these commands, see Command line interface.
The default AdvancedFilterConfigFile contains the following XML code:
<filter-Set>
<filter>
<and>
<equal class="jmsEvent" name="MTOSI_NTType" value="NT_ALARM" />
<not>
<equal class="jmsEvent" name="MTOSI_NTType"
value="NT_ATTRIBUTE_VALUE_CHANGE" />
</not>
</and>
</filter>
</filter-Set>
<extraTags>
<tag name="ALA_category" />
<tag name="eventName" />
<tag name="MTOSI_osTime" />
<tag name="MTOSI_objectType" />
<tag name="MTOSI_perceivedSeverity" eventName="ObjectCreation" />
<tag name="ALA_alarmType" eventName="ObjectCreation" />
<tag name="ALA_clientId" />
</extraTags>
When the probe subscribes to the 5620-SAM-topic-xml-filtered
topic,
by default, the event
vessel does not contain the
JMS header properties of the individual events. You must use the AdvancedFilterConfigFile property
to specify the JMS header properties (for example, MTOSI_osTime, eventName,
and so on).
Probe only support
AdvancedFilterConfigFile: ...