Package org.apache.activemq.util
Interface Callback
-
public interface CallbackA simple callback object used by objects to provide automatic transactional or exception handling blocks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute()Executes some piece of code within a transaction performing a commit if there is no exception thrown else a rollback is performed
-