1 /* 2 * $Id: RollbackSourceCallback.java 22711 2011-08-20 01:50:25Z dfeist $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 5 * 6 * The software in this package is published under the terms of the CPAL v1.0 7 * license, a copy of which has been included with this distribution in the 8 * LICENSE.txt file. 9 */ 10 11 package org.mule.api.exception; 12 13 /** 14 * This is used to provide a rollback method in order to achieve atomic message delivery without relying on JTA transactions, 15 * The exact behavior of this method will depend on the transport, e.g. it may send a negative ack, reset a semaphore, 16 * put the resource back in its original state/location, etc. 17 */ 18 public interface RollbackSourceCallback 19 { 20 public void rollback(); 21 } 22 23