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

Include limit of items read in JmsItemReader

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.7
    • Fix Version/s: None
    • Component/s: Build
    • Labels:

      Description

      I developed a batch that needs to read objects from a JMS Queue and write them in a File.

      The batch runs every 1 hour and should reads at most 500.000 records by execution and write them in the file.

      I had to extend JmsItemReader, create limit and counter attributes and change the read method to read at most the limit attribute.

      I would like to suggest to change JmsItemReader to have this feature.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: