Package org.frankframework.core
Interface HasTransactionAttribute
- All Known Implementing Classes:
AbstractPipe
,ActionJob
,ApiPrincipalPipe
,Base64Pipe
,BlobLineIteratingPipe
,BytesOutputPipe
,CheckReloadJob
,ChecksumPipe
,CleanupDatabaseJob
,CleanupFileSystemJob
,ClobLineIteratingPipe
,CollectorPipeBase
,CompareIntegerPipe
,CompareStringPipe
,CompressPipe
,CounterSwitchPipe
,CredentialCheckingPipe
,CrlPipe
,CsvParserPipe
,DatabaseJob
,DataSonnetPipe
,DelayPipe
,DomainTransformerPipe
,EchoPipe
,EscapePipe
,EtagHandlerPipe
,ExceptionPipe
,ExecuteQueryJob
,FileLineIteratorPipe
,FilenameSwitch
,FixedForwardPipe
,FixedResultPipe
,ForEachChildElementPipe
,ForPipe
,GetFromSession
,GetPrincipalPipe
,HashPipe
,IbisActionJob
,IncreaseIntegerPipe
,IsUserInRolePipe
,IsXmlPipe
,IteratingPipe
,JdbcIteratingPipeBase
,Job
,JobDef
,Json2XmlValidator
,JsonPipe
,JsonValidator
,JsonWellFormedChecker
,JsonXsltPipe
,JwtPipe
,LdapChallengePipe
,LdapFindGroupMembershipsPipe
,LdapFindMemberPipe
,LdapQueryPipeBase
,LoadDatabaseSchedulesJob
,LobLineIteratingPipeBase
,Locker
,LogContextPipe
,MailSenderPipe
,MessageSendingPipe
,PasswordGeneratorPipe
,PasswordHashPipe
,PGPPipe
,PipeLine
,PostboxRetrieverPipe
,PutInSession
,PutParametersInSession
,PutSystemDateInSession
,Receiver
,RecoverAdaptersJob
,RegExPipe
,RemoveCacheKeyPipe
,RemoveFromSession
,ReplacerPipe
,ResultSetIteratingPipe
,SenderPipe
,SendMessageJob
,SignaturePipe
,SizePipe
,SkipPipe
,SoapValidator
,SoapWrapperPipe
,Stream2StringPipe
,StreamLineIteratorPipe
,StreamPipe
,StringIteratorPipe
,Text2XmlPipe
,TextSplitterPipe
,TimeoutGuardPipe
,TransactionAttributes
,UnzipPipe
,UUIDGeneratorPipe
,ValidatorBase
,WsdlGeneratorPipe
,WsdlXmlValidator
,XmlBuilderPipe
,XmlFileElementIteratorPipe
,XmlIf
,XmlSwitch
,XmlValidator
,XmlWellFormedChecker
,XQueryPipe
,XsltPipe
,ZipIteratorPipe
,ZipWriterPipe
public interface HasTransactionAttribute
The
HasTransactionAttribute
allows Pipes to declare transaction and isolation behavior.
The pipeline uses this to start a new transaction or suspend the current one when required.- Since:
- 4.5
- Author:
- Gerrit van Brakel
-
Method Summary
Modifier and TypeMethodDescriptionint
org.springframework.transaction.TransactionDefinition
getTxDef()
void
setTransactionAttribute
(TransactionAttribute attribute) ThetransactionAttribute
declares transactional behavior of execution.void
setTransactionTimeout
(int i) Timeout (in seconds) of transaction started to process a message.
-
Method Details
-
setTransactionAttribute
ThetransactionAttribute
declares transactional behavior of execution. It applies both to database transactions and XA transactions. The pipeline uses this to start a new transaction or suspend the current one when required. For developers: it is equal to <a href=\"https://docs.oracle.com/javaee/7/tutorial/transactions003.htm\">EJB transaction attribute. Possible values for transactionAttribute: <table border=\"1\">transactionAttribute callers Transaction Pipeline excecuted in Transaction <td colspan=\"1\" rowspan=\"2\">Required none T2 T1 T1 <td colspan=\"1\" rowspan=\"2\">RequiresNew none T2 T1 T2 <td colspan=\"1\" rowspan=\"2\">Mandatory none error T1 T1 <td colspan=\"1\" rowspan=\"2\">NotSupported none none T1 none <td colspan=\"1\" rowspan=\"2\">Supports none none T1 T1 <td colspan=\"1\" rowspan=\"2\">Never none none T1 error - Throws:
ConfigurationException
- Default value
- Supports
-
getTransactionAttribute
TransactionAttribute getTransactionAttribute() -
setTransactionTimeout
void setTransactionTimeout(int i) Timeout (in seconds) of transaction started to process a message.- Default value
0
(use system default)
-
getTransactionTimeout
int getTransactionTimeout() -
getTxDef
org.springframework.transaction.TransactionDefinition getTxDef()
-