org.mule.util.queue
Interface TransactionContextProvider


public interface TransactionContextProvider

Provides access to the transaction context if there is one for the current session.


Method Summary
 QueueTransactionContext getTransactionalContext()
           
 boolean isTransactional()
           
 

Method Detail

isTransactional

boolean isTransactional()
Returns:
true if there is a transaction context created for the current session

getTransactionalContext

QueueTransactionContext getTransactionalContext()
Returns:
if isTransactional() returns true it will return the QueueTransactionContext related to the current session.
Throws:
{@link - org.mule.api.MuleRuntimeException} if isTransactional() is false.


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.