Examples of rollbackTransactions()


Examples of org.apache.qpid.management.common.mbeans.ManagedConnection.rollbackTransactions()

        // sync to make sure that messages are received on the broker
        // before we rollback via JMX
        ((AMQSession<?, ?>) producerSession).sync();

        Number channelId = getFirstTransactedChannelId(mBean, 2);
        mBean.rollbackTransactions(channelId.intValue());

        Message m = consumer.receive(1000l);
        assertNull("Unexpected message received: " + String.valueOf(m), m);

        producerSession.commit();
View Full Code Here

Examples of org.jitterbit.integration.server.engine.jdbc.JdbcSession.rollbackTransactions()

    @Override
    public WsJdbcError rollbackTransactions(WsJdbcSessionId sessionId) throws RemoteException {
        try {
            JdbcSession session = getSession(sessionId);
            session.rollbackTransactions();
            return createForSuccess();
        } catch (Exception e) {
          return createForException(e, "rollbackTransactions");
        }
    }
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.