Question
<step id = "step2">
<tasklet>
<chunk reader="reader" writer="writer" commit-interval="10" />
<no-rollback-exception-classes>
<include class="com.yourdomain.exceptions.YourBusinessException"/>
</no-rollback-exception-classes>
</tasklet>
</step>
a.
True
b.
False
c.
May be
d.
Can't say
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. no-rollback-exception-classes element Exception classes that should not cause the transaction to roll back.
Similar Questions
Discover Related MCQs
Q. You want to work with a resource that may fail when you try to read from or write to it.
View solution
Q. Some invocations will fail but may be retried with some likelihood of success in a transactional scenario.
View solution
Q. You can leverage Spring Batch support for retries and recovery in your own code.
View solution
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.
View solution
Q. The RetryTemplate supports many use cases, with convenient APIs to wrap.
View solution
Q. The RetryTemplate itself is configured in the Spring context, although it’s trivial to create in code.
View solution
Q. One of the more useful settings for the RetryTemplate is the :-
View solution
Q. You want to control how steps are executed, perhaps to eliminate a needless waste of time by:-
View solution
Q. Typical jobs of almost any complexity will have multiple steps, however.
View solution
Q. There’s nothing to prevent you from having many steps within the flow elements.
View solution
Q. Spring Batch provides a mechanism to offload processing to another process.
View solution
Q. Pattern which refers to the arrangement of multiple JMS clients all consuming the same queue messages.
View solution
Q. Spring Batch ships with only handler, which executes steps in multiple threads using a TaskExecutor strategy.
View solution
Q. To determine the next step is the simplest example of a conditional flow.
View solution
Q. If you want to vary the execution flow based on some logic more complex than a job’s ExitStatuses:-
View solution
Q. Spring Batch work with a system scheduler:-
View solution
Q. JobLauncher reference you configured previously is obtained and used to then launch an instance of a Job.
View solution
Q. TaskExecutor that will spawn a thread of execution and manage that thread without blocking.
View solution
Q. The CommandLineJobRunner for success will return system error codes:-
View solution
Q. More complicated return codes can be returned by creating and declaring a top-level bean that implements the interface:-
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!