Package org.jboss.narayana.blacktie.jatmibroker.jab

Examples of org.jboss.narayana.blacktie.jatmibroker.jab.JABTransaction.commit()


    balances[1] = 2.2;
    dos.setDoubleArray("balances", balances);

    JABTransaction transaction = new JABTransaction(jabSession, 5000);
    jabService.call(transaction);
    transaction.commit();

    JABMessage response = jabService.getResponse();
    byte[] expected = new byte[60];
    System.arraycopy("tpcall_x_c_type".getBytes(), 0, expected, 0, 15);
    byte[] received = response.getByteArray("X_OCTET");
View Full Code Here


        // check that the remote service created a transaction
        JABTransaction tx = JABTransaction.current();
        if (tx != null) {
          try {
            tx.commit();
          } catch (JABException e) {
            args = "Service create a transaction but commit failed: "
                + e;
            log.error(args, e);
          }
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.