Skip to content

Include limit of items read in JmsItemReader [BATCH-1752] #1839

Open
@spring-projects-issues

Description

@spring-projects-issues

Paulo Pimenta opened BATCH-1752 and commented

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.


Affects: 2.1.7

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions