Class HarvesterStatusReceiver

    • Constructor Detail

      • HarvesterStatusReceiver

        public HarvesterStatusReceiver​(JobDispatcher jobDispatcher,
                                       JMSConnection jmsConnection,
                                       HarvestChannelDAO harvestChannelDao,
                                       HarvestChannelRegistry harvestChannelRegistry)
        Constructor of the HarvesterStatusReceiver. This constructs also reads from settings, if we're limiting the number of submitted messages in each queue, and its limit. If the setting 'settings.harvester.scheduler.limitSubmittedJobsInQueue' is false, no limit is enforced, otherwise the limit is defined by setting 'settings.harvester.scheduler.submittedJobsInQueueLimit'.
        Parameters:
        jobDispatcher - The JobDispatcher to delegate the dispatching of new jobs to, when a 'Ready for job' event is received.
        jmsConnection - The JMS connection by which HarvesterReadyMessage is received.
        harvestChannelDao - The specific HarvestChannelDAO instance to use
        harvestChannelRegistry - The specific HarvestChannelRegistry instance to use