Sun Adapter for Websphere MQ API

com.stc.connector.webspheremqadapter.message
Interface ISyncpointControl


public interface ISyncpointControl

Represents a controller object with which to signal WebSphere MQ to commit or backout a unit of work. ISyncpointControl objects are obtained from IMessage objects; see IMessage.getSyncpointController().

Version:
$Revision: 1.4 $

Method Summary
 void backout()
          Commands the associated queue manager to repudiate all gets and puts that have occured since the last syncpoint.
 void commit()
          Commands the associated queue manager to make all gets and puts that have occured since the last syncpoint permanent, and to establish a new syncpoint.
 

Method Detail

commit

void commit()
            throws MQException
Commands the associated queue manager to make all gets and puts that have occured since the last syncpoint permanent, and to establish a new syncpoint. This method delegates to MQQueueManager.commit().

Parameters:
None.

Throws:
MQException - if thrown by MQQueueManager.commit()

backout

void backout()
             throws MQException
Commands the associated queue manager to repudiate all gets and puts that have occured since the last syncpoint. This method delegates to MQQueueManager.backout().

Parameters:
None.

Throws:
MQException - if thrown by MQQueueManager.backout()

Sun Adapter for Websphere MQ API

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.