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.
Modifier and Type | Method and Description |
---|---|
void |
start(Properties properties,
ReliableTransmitter transmitter)
Tells the daemon to start with the given properties.
|
void |
stop()
Tells the daemon to stop.
|
void start(Properties properties, ReliableTransmitter transmitter)
properties
- The initial set of properties.transmitter
- a transmitter used to transmit retrieved messages to the MOM
reliably.void stop()
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.