Interface MessageSender
- All Known Implementing Classes:
ActiveMQMessageSender
,BaseMessageSender
public interface MessageSender
-
Method Summary
Modifier and TypeMethodDescriptionjavax.jms.BytesMessage
javax.jms.TextMessage
void
doStop()
boolean
failed()
javax.jms.MessageProducer
javax.jms.MessageProducer
getMessageProducer
(javax.jms.Destination destination) void
setConnection
(javax.jms.Connection connection)
-
Method Details
-
getMessageProducer
javax.jms.MessageProducer getMessageProducer() -
getReasonForFailure
Exception getReasonForFailure() -
failed
boolean failed() -
createTextMessage
- Throws:
Exception
-
doStop
void doStop() -
getMessageProducer
- Throws:
Exception
-
createBytesMessage
- Throws:
Exception
-
setConnection
void setConnection(javax.jms.Connection connection)
-