Class ITInfrastructureOMRSTopicListener

  • All Implemented Interfaces:
    OMRSTopicListener

    public class ITInfrastructureOMRSTopicListener
    extends OMRSTopicListenerBase
    ITInfrastructureOMRSTopicListener received details of each OMRS event from the cohorts that the local server is connected to. It passes NEW_ENTITY_EVENTs to the publisher.
    • Constructor Detail

      • ITInfrastructureOMRSTopicListener

        public ITInfrastructureOMRSTopicListener​(Connection itInfrastructureOutTopic,
                                                 OMRSRepositoryHelper repositoryHelper,
                                                 OMRSRepositoryValidator repositoryValidator,
                                                 String componentName,
                                                 List<String> supportedZones,
                                                 AuditLog auditLog)
                                          throws OMAGConfigurationErrorException
        The constructor is given the connection to the out topic for Asset Consumer OMAS along with classes for testing and manipulating instances.
        Parameters:
        itInfrastructureOutTopic - connection to the out topic
        repositoryHelper - provides methods for working with metadata instances
        repositoryValidator - provides validation of metadata instance
        componentName - name of component
        supportedZones - list of zones covered by this instance of the access service.
        auditLog - log for errors and information messages
        Throws:
        OMAGConfigurationErrorException - problems creating the connector for the outTopic