Automatic topic management
The IBM Connections integration package includes NetworkMonitorExample event reader service that connects to the Netcool/OMNIbus Object Server and filters for specific events. When there is a match, the service runs the policy that either updates the topic by sending a reply to the topic, or creates a topic if a topic does not exist.
The forum that is used in this example is the same name as the AlertKey in the Object Server event, forumName = @IBMConnections_Forum
You can use the sql scripts in the $IMPACT_HOME/integrations/IBMConnections/db directory to create extra fields in the Object Server or you can use existing fields.
topicTitleVar="Network Monitor is down on node: @Node@" ;
IBMConnectionsUtils.extractParametersAndSubstitute(topicTitleVar,EventContainer,result);
topicTitle = result;
The policy checks if the topic was created by querying the internal data type TopicCreationTracker. If the topic exists, the policy sends a reply instead of creating a new one.