SonicMQ API

progress.message.jclient.xa
Interface XASession

All Superinterfaces:
java.lang.Runnable, Session, XASession
All Known Subinterfaces:
XAQueueSession, XATopicSession

public interface XASession
extends XASession

This interface defines a Sonic proprietary interface of XASession.

Version:
1.0 - 24 Oct. 2002
Author:
Kathy Guo
See Also:
XASession

Field Summary
 
Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
 
Method Summary
 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
 
Methods inherited from interface javax.jms.Session
close, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, recover, run, setMessageListener, unsubscribe
 

Method Detail

setDeferredAck

void setDeferredAck(boolean value)
                    throws JMSException
True to set the deferred acknowledge. This will cause the message received before enlistXAResource to be included in the XA transaction.

Parameters:
value - true set the deferred acknowledge. false to unset the deferred acknowledge.
Throws:
JMSException - if method is failed due to an error in RM.

isDeferredAck

boolean isDeferredAck()
                      throws JMSException
Get the value set in the setDeferredAck method.

Returns:
true the deferred acknowledge is set. false the deferred acknowledge is unset.
Throws:
JMSException - if method is failed due to an error in RM.

SonicMQ API

Copyright © 1999-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 15-September-2010.