public interface Callback
org.apache.activemq.util.TransactionTemplate
and org.apache.activemq.util.ExceptionTemplate
objects to provide automatic transactional or exception handling blocks.Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes some piece of code within a transaction
performing a commit if there is no exception thrown
else a rollback is performed
|
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.