Home
»
activemq-parent-5.3.1-source-release
» org.apache »
activemq
»
util
» [javadoc |
source
]
org.apache.activemq.util
public interface: Callback
[javadoc |
source
] A simple callback object used by the
org.apache.activemq.util.TransactionTemplate
and
org.apache.activemq.util.ExceptionTemplate
objects to provide automatic transactional or exception handling blocks.
version:
$
- Revision: 1.2 $
Method from
org.apache.activemq.util.Callback
Summary:
execute
Method from
org.apache.activemq.util.Callback
Detail:
public void
execute
()
throws
Exception
Executes some piece of code within a transaction performing a commit if there is no exception thrown else a rollback is performed