List of usage examples for javax.resource.cci LocalTransaction rollback
public void rollback() throws ResourceException;
From source file:org.mule.transport.cics.CtgAdapter.java
/** * @param <code>Connection</code> mainframe connection * Rollback the CICS transaction.//from w w w .ja v a 2s . c o m * */ public void rollback(Connection con) throws Exception { if (con == null) return; LocalTransaction tran = con.getLocalTransaction(); if (tran != null) { tran.rollback(); logger.info("CICS-Transaction [" + this.transactionID + "] has been rolledback."); } }