|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A JMQSession
defines additional message acknowledgement
modes and supports a factory method for creating XML and SOAP messages.
Session
Field Summary | |
static int |
INDIVIDUAL_ACKNOWLEDGE
With this acknowledgement mode, the client acknowledges a message by calling a message's acknowledge method. |
Fields inherited from interface javax.jms.Session |
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE |
Method Summary | |
JMQFileMessage |
createFileMessage()
Creates a JMQFileMessage object. |
JMQSOAPMessage |
createSOAPMessage()
Creates a JMQSOAPMessage object. |
JMQXMLMessage |
createXMLMessage()
Creates a JMQXMLMessage object. |
Methods inherited from interface javax.jms.Session |
close, commit, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, getMessageListener, getTransacted, recover, rollback, run, setMessageListener |
Field Detail |
public static final int INDIVIDUAL_ACKNOWLEDGE
Using this acknowledgement mode requires extra care in the consumer to prevent un-acknowledged messages from exhausting resources in the JMS provider. The consumer may for instance recover the session once in a while to check for any un-acknowledged messages.
Method Detail |
public JMQXMLMessage createXMLMessage() throws JMSException
JMQXMLMessage
object. A
JMQXMLMessage
object is used to send a message
containing a org.w3c.dom.Document
object.
JMQXMLMessage
object
JMSException
- if the JMS provider fails to create
this message due to some internal errorpublic JMQSOAPMessage createSOAPMessage() throws JMSException
JMQSOAPMessage
object. A
JMQSOAPMessage
object is used to send a message
containing a javax.xml.soap.SOAPMessage
object.
JMQSOAPMessage
object
JMSException
- if the JMS provider fails to create
this message due to some internal errorpublic JMQFileMessage createFileMessage() throws JMSException
JMQFileMessage
object. A
JMQFileMessage
object is used to send a message
containing one or more files (java.io.File
objects).
JMQFileMessage
object
JMSException
- if the JMS provider fails to create
this message due to some internal error
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |