public class MuleTransactionConfig extends Object implements TransactionConfig, MuleContextAware
MuleTransactionConfig defines transaction configuration for a transactional endpoint.| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_ALWAYS_BEGIN_STRING |
static String |
ACTION_ALWAYS_JOIN_STRING |
static String |
ACTION_BEGIN_OR_JOIN_STRING |
static String |
ACTION_INDIFFERENT_STRING |
static String |
ACTION_JOIN_IF_POSSIBLE_STRING |
static String |
ACTION_NEVER_STRING |
static String |
ACTION_NONE_STRING |
static String |
ACTION_NOT_SUPPORTED_STRING |
protected static org.slf4j.Logger |
logger
logger used by this class
|
ACTION_ALWAYS_BEGIN, ACTION_ALWAYS_JOIN, ACTION_BEGIN_OR_JOIN, ACTION_DEFAULT, ACTION_INDIFFERENT, ACTION_JOIN_IF_POSSIBLE, ACTION_NEVER, ACTION_NONE, ACTION_NOT_SUPPORTED| Constructor and Description |
|---|
MuleTransactionConfig() |
MuleTransactionConfig(byte action) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte |
getAction() |
String |
getActionAsString() |
TransactionFactory |
getFactory() |
int |
getTimeout() |
int |
hashCode() |
boolean |
isConfigured() |
boolean |
isInteractWithExternal() |
boolean |
isTransacted()
Will the result, at the end of running the transaction template, be an active transaction?
|
void |
setAction(byte action) |
void |
setActionAsString(String action) |
void |
setFactory(TransactionFactory factory) |
void |
setInteractWithExternal(boolean interactWithExternal) |
void |
setMuleContext(MuleContext context) |
void |
setTimeout(int timeout) |
String |
toString() |
protected static final org.slf4j.Logger logger
public static final String ACTION_NONE_STRING
public static final String ACTION_ALWAYS_BEGIN_STRING
public static final String ACTION_BEGIN_OR_JOIN_STRING
public static final String ACTION_ALWAYS_JOIN_STRING
public static final String ACTION_JOIN_IF_POSSIBLE_STRING
public static final String ACTION_NEVER_STRING
public static final String ACTION_INDIFFERENT_STRING
public static final String ACTION_NOT_SUPPORTED_STRING
public MuleTransactionConfig()
public MuleTransactionConfig(byte action)
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.public TransactionFactory getFactory()
getFactory in interface TransactionConfigpublic void setFactory(TransactionFactory factory)
setFactory in interface TransactionConfigpublic byte getAction()
getAction in interface TransactionConfigpublic void setAction(byte action)
setAction in interface TransactionConfigpublic boolean isInteractWithExternal()
isInteractWithExternal in interface TransactionConfigpublic void setInteractWithExternal(boolean interactWithExternal)
setInteractWithExternal in interface TransactionConfigpublic void setActionAsString(String action)
public String getActionAsString()
public boolean isTransacted()
isTransacted in interface TransactionConfigpublic boolean isConfigured()
isConfigured in interface TransactionConfigpublic int getTimeout()
getTimeout in interface TransactionConfigpublic void setTimeout(int timeout)
setTimeout in interface TransactionConfigCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.