OMRSTopicListenerWrapper is a class that wraps a real OMRSTopicListener when it registers with the OMRSTopicConnector. Its sole purpose is to catch exceptions from the real OMRSTopicListener and create diagnostics. The listeners are called in parallel with no mechanism for the connector to properly manage errors from the listener so this wrapper has been installed. If the real OMRSTopicListener has been implemented properly then no errors should be handled by this wrapper class
Method SummaryModifier and TypeMethodDescription
voidMethod to pass an Instance event received on topic.
voidMethod to pass a Registry event received on topic.
voidMethod to pass a TypeDef event received on topic.
processRegistryEventpublic void processRegistryEvent
(OMRSRegistryEvent event)Method to pass a Registry event received on topic.
processTypeDefEventpublic void processTypeDefEvent
(OMRSTypeDefEvent event)Method to pass a TypeDef event received on topic.
processInstanceEventpublic void processInstanceEvent
(OMRSInstanceEvent event)Method to pass an Instance event received on topic.