Package org.objectweb.joram.mom.dest
Interface AcquisitionDaemon
-
- All Known Implementing Classes:
AmqpAcquisition,JMSAcquisition,RestAcquisitionAsync
public interface AcquisitionDaemonAcquisitionDaemoninterface is made to work with an acquisition queue or topic via anAcquisitionModule. 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
AcquisitionHandlerinstead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstart(Properties properties, ReliableTransmitter transmitter)Tells the daemon to start with the given properties.voidstop()Tells the daemon to stop.
-
-
-
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.
-
-