adplus-dvertising
frame-decoration

Question

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

a.

org.springframework.batch.item.Item

b.

org.springframework.batch.item

c.

org.springframework.batch.item.ItemProcessor

d.

none of the mentioned

Posted under Java Spring Framework

Answer: (c).org.springframework.batch.item.ItemProcessor

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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:-

Q. Typical jobs of almost any complexity will have multiple steps, however.

Q. There’s nothing to prevent you from having many steps within the flow elements.

Q. Spring Batch provides a mechanism to offload processing to another process.

Q. Pattern which refers to the arrangement of multiple JMS clients all consuming the same queue messages.