|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JmsSenderTemplate
Common interface for JMS send functionality so client can benefit from dependency injection.
| Method Summary | |
|---|---|
void |
executeCallback(JmsSenderTemplateCallback callback)
Executes an application-level call-back within the managed session. |
void |
sendBytesMessage(byte[] content)
Sends a ByteMessage. |
void |
sendMapMessage(Map content)
Sends a MapMessage. |
void |
sendObjectMessage(Serializable content)
Sends an ObjectMessage. |
void |
sendTextMessage(String content)
Sends a TextMessage. |
| Method Detail |
|---|
void executeCallback(JmsSenderTemplateCallback callback)
throws javax.jms.JMSException
callback -
javax.jms.JMSException
void sendTextMessage(String content)
throws javax.jms.JMSException
content - The text as a string.
javax.jms.JMSException
void sendMapMessage(Map content)
throws javax.jms.JMSException
content - The Map to get the content from.
javax.jms.JMSException
void sendObjectMessage(Serializable content)
throws javax.jms.JMSException
content - The serializable object content.
javax.jms.JMSException
void sendBytesMessage(byte[] content)
throws javax.jms.JMSException
content - The content as a byte array.
javax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||