|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WmSession
Interface defining webMethods extensions to javax.jms.Session and its subclasses.
Field Summary |
---|
Fields inherited from interface javax.jms.Session |
---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
---|---|
WmFileMessage |
createFileMessage()
Creates a WmFileMessage object. |
javax.jms.ExceptionListener |
getExceptionListener()
Gets the ExceptionListener object for this session. |
void |
setExceptionListener(javax.jms.ExceptionListener listener)
Sets an exception listener for this session. |
Methods inherited from interface javax.jms.Session |
---|
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener, unsubscribe |
Method Detail |
---|
javax.jms.ExceptionListener getExceptionListener() throws javax.jms.JMSException
ExceptionListener
object for this session.
ExceptionListener
for this session, or null. if no ExceptionListener
is associated with this session.
javax.jms.JMSException
- if the JMS provider fails to get the ExceptionListener
for this session.setExceptionListener(javax.jms.ExceptionListener)
void setExceptionListener(javax.jms.ExceptionListener listener) throws javax.jms.JMSException
If an exception is thrown by a user-defined MessageListener's run() method from one of the session's MessageConsumers, it informs the sessions's
ExceptionListener
, if one has been registered. It does this by calling the listener's onException
method, passing it a
JMSException
object with a linked exception containing the exception thrown by the MessageListener's run() method.
listener
- the exception listener
javax.jms.JMSException
- if the JMS provider fails to set the exception listener for this session.getExceptionListener()
WmFileMessage createFileMessage() throws javax.jms.JMSException
WmFileMessage
object. A WmFileMessage
object is used to stream a file that is to large to load into memory.
javax.jms.JMSException
- if the JMS provider fails to create this message due to some internal error.
|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |