Uploaded image for project: 'Spring Batch'
  1. Spring Batch
  2. BATCH-2705

Simplify the ability to configure a custom TransactionManager with java config

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      Currently if you want to customize only the TransactionManager provided via the BatchConfigurer, you need to re-implement the entire BatchConfigurer instead of just overriding something in the DefaultBatchConfigurer. The example use case here is to configure a HibernateTransactionManager. Everything else in the DefaultBatchConfigurer applies, but since we refer directly to the private class level variables, there isn't a way to override what TransactionManager is used across components.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mminella Michael Minella
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: