Examples of rollbackAll()


Examples of org.springframework.amqp.rabbit.connection.RabbitResourceHolder.rollbackAll()

            + channel);
      }
      return action.doInRabbit(channel);
    } catch (Exception ex) {
      if (isChannelLocallyTransacted(channel)) {
        resourceHolder.rollbackAll();
      }
      throw convertRabbitAccessException(ex);
    } finally {
      ConnectionFactoryUtils.releaseResources(resourceHolder);
    }
View Full Code Here

Examples of org.springframework.amqp.rabbit.connection.RabbitResourceHolder.rollbackAll()

      }
      return action.doInRabbit(channel);
    }
    catch (Exception ex) {
      if (isChannelLocallyTransacted(channel)) {
        resourceHolder.rollbackAll();
      }
      throw convertRabbitAccessException(ex);
    }
    finally {
      ConnectionFactoryUtils.releaseResources(resourceHolder);
View Full Code Here

Examples of org.springframework.amqp.rabbit.connection.RabbitResourceHolder.rollbackAll()

  @Override
  protected void doRollback(DefaultTransactionStatus status) {
    RabbitTransactionObject txObject = (RabbitTransactionObject) status.getTransaction();
    RabbitResourceHolder resourceHolder = txObject.getResourceHolder();
    resourceHolder.rollbackAll();
  }

  @Override
  protected void doSetRollbackOnly(DefaultTransactionStatus status) {
    RabbitTransactionObject txObject = (RabbitTransactionObject) status.getTransaction();
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.