adplus-dvertising
frame-decoration

Question

Attribute to configure how many items will be processed before the transaction is committed all the input is sent to the writer.

a.

interval

b.

commit

c.

commit-interval

d.

none of the mentioned

Posted under Java Spring Framework

Answer: (c).commit-interval

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Attribute to configure how many items will be processed before the transaction is committed all the input is sent to the writer.

Similar Questions

Discover Related MCQs

Q. Class which delegates the task of delimiting fields and records within a file to a LineMapper, which in turn delegates the task of identifying the fields within that record, to LineTokenizer.

Q. The names and values for the named parameters are being created by the bean configured for the itemSqlParameterSourceProvider property, an instance of the interface

Q. There’s support for writing JMS:-

Q. The processor attribute on the chunk element expects a reference to a bean of the interface:-

Q. Spring Batch provides a convenience class, CompositeItemProcessor, which forwards the output of the filter to the input of the successive filter.

Q. If the preceding job was run on a batch with a 100 rows, each item was read and passed through the processor, and it found 10 items invalid (it returned null 10 times), the value for the filter_count column would be:-

Q. Transaction capabilities are built on top of the first class support already provided by the core Spring framework.

Q. Spring core framework provides first-class support for transactions.

Q. The batch.xml file establishes a:-

Q. Spring Batch will, by default, try to pluck the:-

Q. Spring Batch excels in the robustness it surfaces as simple configuration options for the edge and failure cases.

Q. Element to configure this for the step:-

Q. You want to work with a resource that may fail when you try to read from or write to it.

Q. Some invocations will fail but may be retried with some likelihood of success in a transactional scenario.

Q. You can leverage Spring Batch support for retries and recovery in your own code.

Q. The template that (much like its various other Template cousins) isolates your logic from the nuances of retries and instead enables you to write the code as though you were only going to attempt it once.

Q. The RetryTemplate supports many use cases, with convenient APIs to wrap.

Q. The RetryTemplate itself is configured in the Spring context, although it’s trivial to create in code.

Q. One of the more useful settings for the RetryTemplate is the :-

Q. You want to control how steps are executed, perhaps to eliminate a needless waste of time by:-