Class AssetManagerOMRSTopicListener

  • All Implemented Interfaces:
    OMRSTopicListener

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

      • AssetManagerOMRSTopicListener

        public AssetManagerOMRSTopicListener​(String serviceName,
                                             AssetManagerOutTopicPublisher eventPublisher,
                                             List<String> supportedZones,
                                             OMRSRepositoryHelper repositoryHelper,
                                             AuditLog auditLog)
        Initialize the topic listener.
        Parameters:
        serviceName - this is the full name of the service - used for error logging in base class
        eventPublisher - this is the out topic publisher.
        supportedZones - list of zones for the visible assets
        repositoryHelper - repository helper
        auditLog - logging destination