Interface AcquisitionDaemon

  • All Known Implementing Classes:
    AmqpAcquisition, JMSAcquisition, RestAcquisitionAsync

    public interface AcquisitionDaemon
    AcquisitionDaemon interface is made to work with an acquisition queue or topic via an AcquisitionModule. Its purpose is to collect messages from non-JMS sources in order to inject them into the JMS world. When the daemon is started, it starts listening to incoming messages. Once received, these messages are transmitted to the MOM using the given transmitter.

    This interface is made for implicit acquisition. For on-demand or periodic acquisition, you need to extend AcquisitionHandler instead.

    • Method Detail

      • start

        void start​(Properties properties,
                   ReliableTransmitter transmitter)
        Tells the daemon to start with the given properties.
        Parameters:
        properties - The initial set of properties.
        transmitter - a transmitter used to transmit retrieved messages to the MOM reliably.
      • stop

        void stop()
        Tells the daemon to stop. Any system resources previously allocated must be released.