public interface JmsSenderTemplate
| Modifier and Type | Method and Description |
|---|---|
void |
executeCallback(JmsSenderTemplateCallback callback)
Executes an application-level call-back within the managed session.
|
void |
sendBytesMessage(byte[] content)
Sends a ByteMessage.
|
void |
sendMapMessage(Map<String,?> content)
Sends a MapMessage.
|
void |
sendObjectMessage(Serializable content)
Sends an ObjectMessage.
|
void |
sendTextMessage(String content)
Sends a TextMessage.
|
void executeCallback(JmsSenderTemplateCallback callback) throws javax.jms.JMSException
callback - javax.jms.JMSExceptionvoid sendTextMessage(String content) throws javax.jms.JMSException
content - The text as a string.javax.jms.JMSExceptionvoid sendMapMessage(Map<String,?> content) throws javax.jms.JMSException
content - The Map to get the content from.javax.jms.JMSExceptionvoid sendObjectMessage(Serializable content) throws javax.jms.JMSException
content - The serializable object content.javax.jms.JMSExceptionvoid sendBytesMessage(byte[] content)
throws javax.jms.JMSException
content - The content as a byte array.javax.jms.JMSExceptionCopyright © 2022. All rights reserved.