Spring Batch
  1. Spring Batch
  2. BATCH-2089

Add ability to remap exit status on transitions

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Core
    • Labels:

      Description

      JSR-352 requires the ability to remap an exit status upon executing a transition using configuration like below. We should allow this functionality both within a JSR configured job and out.

      <job id="myJob">
        <step id="step1">
          <batchlet ref="batchlet1"/>
          <next on="next" exit-status="New Exit Status"/>
          <fail on="*" exit-status="Exit Status was not next"/>
        </step>
        <step id="step2">
          <batchlet ref="batchlet2"/>
        </step>
      </job>
      

        Activity

        Hide
        Chris Schaefer added a comment -

        Merged

        Show
        Chris Schaefer added a comment - Merged

          People

          • Assignee:
            Michael Minella
            Reporter:
            Michael Minella
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 3d
              3d
              Remaining:
              Remaining Estimate - 3d
              3d
              Logged:
              Time Spent - Not Specified
              Not Specified