Spring Batch
  1. Spring Batch
  2. BATCH-1243

Expose the current resource of MultiResourceItemReader

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      Expose the current resource of MultiResourceItemReader:

      public Resource getCurrentResource()

      { return resources[index.currentResource]; }

        Activity

        Hide
        Michael Lange added a comment -

        issue should be re-opened, actual implemention does not permit usage with step scope, to get it working the getCurrentResource needs to be added to an interface (itemstream perhaps?) or a new interface has to be introduced

        Show
        Michael Lange added a comment - issue should be re-opened, actual implemention does not permit usage with step scope, to get it working the getCurrentResource needs to be added to an interface (itemstream perhaps?) or a new interface has to be introduced

          People

          • Assignee:
            Lucas Ward
            Reporter:
            Dan Garrette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0.25h
              0.25h
              Remaining:
              Remaining Estimate - 0.25h
              0.25h
              Logged:
              Time Spent - Not Specified
              Not Specified