|
SonicMQ API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XASession
This interface defines a Sonic proprietary interface of XASession.
XASession
Field Summary |
---|
Fields inherited from interface javax.jms.Session |
---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
---|---|
java.lang.String |
getSessionName()
Gets the name associated with the session if one was supplied when the session was created. |
boolean |
isDeferredAck()
Get the value set in the setDeferredAck method. |
void |
setDeferredAck(boolean value)
True to set the deferred acknowledge. |
Methods inherited from interface javax.jms.XASession |
---|
commit, getSession, getTransacted, getXAResource, rollback |
Method Detail |
---|
void setDeferredAck(boolean value) throws JMSException
value
- true set the deferred acknowledge.
false to unset the deferred acknowledge.
JMSException
- if method is failed due to an error in RM.boolean isDeferredAck() throws JMSException
JMSException
- if method is failed due to an error in RM.java.lang.String getSessionName()
XAConnection.createXASession(String)
|
SonicMQ API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |