Examples of tpdiscon()


Examples of org.jboss.narayana.blacktie.jatmibroker.xatmi.Session.tpdiscon()

    assertTrue(TX.tx_begin() == TX.TX_OK);

    Session cd = connection.tpconnect(
        RunServer.getServiceNameTestRollbackOnly2(), sendbuf,
        Connection.TPSENDONLY);
    cd.tpdiscon();

    TXINFO txinfo = new TXINFO();
    int inTx = TX.tx_info(txinfo);
    log.info("inTx=" + inTx);
    assertTrue(txinfo.transaction_state == TX.TX_ROLLBACK_ONLY);
View Full Code Here

Examples of org.jboss.narayana.blacktie.jatmibroker.xatmi.Session.tpdiscon()

    assertTrue(TX.tx_begin() == TX.TX_OK);

    Session cd = connection.tpconnect(
        RunServer.getServiceNameTestRollbackOnly2(), sendbuf,
        Connection.TPSENDONLY);
    cd.tpdiscon();

    TXINFO txinfo = new TXINFO();
    int inTx = TX.tx_info(txinfo);
    log.info("inTx=" + inTx);
    assertTrue(txinfo.transaction_state == TX.TX_ROLLBACK_ONLY);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.