Class AssetConsumerOMRSTopicListener

  • All Implemented Interfaces:
    OMRSTopicListener

    public class AssetConsumerOMRSTopicListener
    extends OMRSTopicListenerBase
    AssetConsumerOMRSTopicListener 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

      • AssetConsumerOMRSTopicListener

        public AssetConsumerOMRSTopicListener​(Connection assetConsumerOutTopic,
                                              OMRSRepositoryHelper repositoryHelper,
                                              OMRSRepositoryValidator repositoryValidator,
                                              String componentName,
                                              String serverName,
                                              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:
        assetConsumerOutTopic - connection to the out topic
        repositoryHelper - provides methods for working with metadata instances
        repositoryValidator - provides validation of metadata instance
        componentName - name of component
        serverName - local server name
        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