Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8194

set tx timeout from an http header

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5.0-HF01, 5.6-RC1, 5.6
    • Component/s: Web Common
    • Upgrade notes:
      Hide

      New methods:

      • TransactionHelper.startTransaction(timeout): starts a transaction with the given timeout.
      • ServletHelper.startTransaction(HttpServletRequest): starts a transaction with the timeout given by the Nuxeo-Transaction-Timeout header of the request.

      For tests, new feature:

      • JettyTransactionalFeature: manages the transaction manager and connection factory binding in the jetty naming.
      Show
      New methods: TransactionHelper.startTransaction(timeout): starts a transaction with the given timeout. ServletHelper.startTransaction(HttpServletRequest): starts a transaction with the timeout given by the Nuxeo-Transaction-Timeout header of the request. For tests, new feature: JettyTransactionalFeature: manages the transaction manager and connection factory binding in the jetty naming.

      Description

      When operating an automation request we want to be able to set the tx timeout using an http header. This is needed for long operation processing such as large blob injection.

      The header key is named Nuxeo-Transaction-Timeout, values are seconds expression.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: