Interface HasTransactionAttribute

All Known Implementing Classes:
AbstractCollectorPipe, AbstractFileSystemPipe, AbstractJobDef, AbstractLdapQueryPipe, AbstractPipe, AbstractValidator, ActionJob, Adios2XmlPipe, AmountOfPagesPipe, ApiPrincipalPipe, ApiSoapWrapperPipe, ApiStreamPipe, ApiWsdlXmlValidator, AsyncSenderWithListenerPipe, Base64Pipe, BatchBlobTransformerPipe, BatchClobTransformerPipe, BatchFileTransformerPipe, BatchTransformerPipeBase, BisWrapperPipe, BlobLineIteratingPipe, BytesOutputPipe, CheckReloadJob, ChecksumPipe, CleanupDatabaseJob, CleanupFileSystemJob, ClobLineIteratingPipe, CompareIntegerPipe, CompareStringPipe, CompressPipe, CounterSwitchPipe, CredentialCheckingPipe, CrlPipe, CsvParserPipe, DatabaseJob, DataSonnetPipe, DelayPipe, DirectWrapperPipe, DomainTransformerPipe, EchoPipe, EsbSoapValidator, EsbSoapWrapperPipe, EscapePipe, EtagHandlerPipe, ExceptionPipe, ExecuteQueryJob, FixedForwardPipe, FixedResultPipe, ForEachAttachmentPipe, ForEachChildElementPipe, ForPipe, FxfWrapperPipe, FxfXmlValidator, GetFromSession, GetPrincipalPipe, GetTibcoQueues, HashPipe, IbisActionJob, IfPipe, IncreaseIntegerPipe, IsUserInRolePipe, IsXmlPipe, IteratingPipe, JdbcIteratingPipeBase, Job, Json2XmlValidator, JsonPipe, JsonValidator, JsonWellFormedChecker, JsonXsltPipe, JwtPipe, LabelFormat, LadybugPipe, LarvaPipe, LdapFindGroupMembershipsPipe, LdapFindMemberPipe, LoadDatabaseSchedulesJob, LobLineIteratingPipeBase, LocalFileSystemPipe, Locker, LogContextPipe, MailSenderPipe, MessageSendingPipe, ObfuscatePipe, PasswordGeneratorPipe, PasswordHashPipe, PdfPipe, PGPPipe, PipeLine, PutInSession, PutSystemDateInSession, Receiver, RecoverAdaptersJob, RegExPipe, RekenBoxCaller, RemoveCacheKeyPipe, RemoveFromSession, ReplacerPipe, ResultSetIteratingPipe, Samba1Pipe, Samba2Pipe, SambaPipe, SapLUWManager, ScanTibcoSolutionPipe, SenderPipe, SendMessageJob, SendTibcoMessage, SignaturePipe, SizePipe, SkipPipe, SoapValidator, SoapWrapperPipe, StreamLineIteratorPipe, StreamPipe, StreamTransformerPipe, StringIteratorPipe, Text2XmlPipe, TextSplitterPipe, TimeoutGuardPipe, TransactionAttributes, UnzipPipe, UUIDGeneratorPipe, WsdlGeneratorPipe, WsdlGeneratorPipe, WsdlXmlValidator, 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 Details

    • setTransactionAttribute

      void setTransactionAttribute(TransactionAttribute attribute) throws ConfigurationException
      The transactionAttribute 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 EJB transaction attribute. Possible values for transactionAttribute:
      transactionAttributecallers TransactionPipeline excecuted in Transaction
      Required noneT2
      T1 T1
      RequiresNew noneT2
      T1 T2
      Mandatory noneerror
      T1 T1
      NotSupportednonenone
      T1 none
      Supports nonenone
      T1 T1
      Never nonenone
      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()