public class TransactionAttributes extends Object implements HasTransactionAttribute
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
Constructor and Description |
---|
TransactionAttributes() |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
static org.springframework.transaction.TransactionDefinition |
configureTransactionAttributes(org.apache.logging.log4j.Logger log,
TransactionAttribute transactionAttribute,
int transactionTimeout) |
boolean |
isTransacted() |
static boolean |
isTransacted(TransactionAttribute txAtt) |
void |
setTransacted(boolean transacted)
Deprecated.
|
void |
setTransactionTimeout(int i)
Timeout (in seconds) of transaction started to process a message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void configure() throws ConfigurationException
ConfigurationException
public static org.springframework.transaction.TransactionDefinition configureTransactionAttributes(org.apache.logging.log4j.Logger log, TransactionAttribute transactionAttribute, int transactionTimeout)
@Deprecated @ConfigurationWarning(value="implemented as setting of transacted=true as transactionAttribute=Required and transacted=false as transactionAttribute=Supports") public void setTransacted(boolean transacted)
public boolean isTransacted()
public static boolean isTransacted(TransactionAttribute txAtt)
public void setTransactionTimeout(int i)
HasTransactionAttribute
setTransactionTimeout
in interface HasTransactionAttribute
Copyright © 2023 Frank!Framework. All rights reserved.