Class DigitalServiceOMRSTopicListener

  • All Implemented Interfaces:
    OMRSTopicListener

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

      • DigitalServiceOMRSTopicListener

        public DigitalServiceOMRSTopicListener​(Connection digitalServiceOutTopic,
                                               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:
        digitalServiceOutTopic - 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