public interface ReliableTransmitter
ReliableTransmitter
is used by an AcquisitionHandler
or
an AcquisitionDaemon
to transmit acquired messages to the MOM.Modifier and Type | Method and Description |
---|---|
void |
transmit(List<Message> messages,
boolean persistent)
Transmits a list of messages to the MOM in a reliable way: if persistent
is set to true the messages have been persisted when the method returns and
therefore can be safely acknowledged.
|
void |
transmit(Message message,
String messageId)
Transmits a message to the MOM in a reliable way: if the message is
persistent it has been persisted when the method returns and therefore
can be safely acknowledged.
|
void transmit(Message message, String messageId)
null
if such duplicates are tolerated.message
- the message to transmitmessageId
- the unique ID of the transmitted messagevoid transmit(List<Message> messages, boolean persistent)
messages
- the messages to transmitCopyright © 2023 ScalAgent D.T.. All rights reserved.