@API
public abstract class MessageSender
extends java.lang.Object
| Constructor and Description |
|---|
MessageSender() |
| Modifier and Type | Method and Description |
|---|---|
com.technia.tif.core.io.jms.AcknowledgeMode |
getAcknowledgeMode() |
boolean |
isTransacted() |
abstract SendResult |
send(javax.jms.Session session,
javax.jms.MessageProducer producer)
Performs the send operation to the JMS queue or topic.
|
public abstract SendResult send(javax.jms.Session session, javax.jms.MessageProducer producer) throws com.technia.tif.core.transfer.TransferException, java.io.IOException
session - The current JMS sessionproducer - The message producercom.technia.tif.core.transfer.TransferException - If failed to transfer the datajava.io.IOException - Upon IO failurespublic boolean isTransacted()
public com.technia.tif.core.io.jms.AcknowledgeMode getAcknowledgeMode()
AcknowledgeMode. This method returns
AcknowledgeMode.AUTO_ACKNOWLEDGE by default.