org.objectweb.joram.mom.dest
Interface AcquisitionDaemon

All Known Implementing Classes:
JMSAcquisition

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 Summary
 void start(java.util.Properties properties, ReliableTransmitter transmitter)
          Tells the daemon to start with the given properties.
 void stop()
          Tells the daemon to stop.
 

Method Detail

start

void start(java.util.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.



Copyright © 2010 ScalAgent D.T.. All Rights Reserved.