Class NrtCollectorJMSDLMC

  • All Implemented Interfaces:
    NrtCollector

    public class NrtCollectorJMSDLMC
    extends Object
    implements NrtCollector
    A JMS based NrtCollector listening to CollectionJobs using a AbstractMessageListenerContainer. Received Jobs will be send to a CollectionJobListener configured via spring.
    Author:
    Simon Walter
    • Constructor Detail

      • NrtCollectorJMSDLMC

        public NrtCollectorJMSDLMC()
    • Method Detail

      • setListenerContainer

        public void setListenerContainer​(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
      • start

        public void start()
        Description copied from interface: NrtCollector
        Starts the satellite. Must return after initialization and start.
        Specified by:
        start in interface NrtCollector
      • terminated

        public boolean terminated()
        Description copied from interface: NrtCollector
        Tells the main thread if the satellite instance is terminated.
        Specified by:
        terminated in interface NrtCollector
        Returns:
      • stop

        public void stop()
        Description copied from interface: NrtCollector
        Stops the nrtcollector and cleans up all the resources
        Specified by:
        stop in interface NrtCollector