Open
Description
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:
- JmsLimitedItemReader.java (1.12 kB)