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:-
1.100
2. 1
3.10
4.1000
Posted Date:-2022-01-06 10:48:26
Serving to abstract away the functionality of other components in an abbreviated interface to provide courser functionality.
1.facade
2.façade
3.gateway
4.None of the mentioned
Posted Date:-2022-01-06 09:40:56
Spring Batch will, by default, try to pluck the:-
1. PlatformTransactionManager
2.transactionManager
3.All of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 10:53:16
Spring core framework provides first-class support for transactions.
1.Transaction
2.TransactionManager
3.All of the mentioned
4.none of the mentioned
Posted Date:-2022-01-06 10:51:20
The first thing that the client configuration does is import a shared application context (to save typing if nothing else) that declares a JMS connection factor.
1. True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:45:19
The only custom logic is a POJO with an @Aggregator annotation on a method expecting a collection of Message objects.
1. True
2. False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:20:58
The RetryTemplate supports many use cases, with convenient APIs to wrap.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 11:04:04
There are some convenient default routers available to fill common needs:-
1. PayloadTypeRouter
2.PayloadType
3.Payload
4.none of the mentioned
Posted Date:-2022-01-06 09:22:12
To load the contents of a properties file (batch.properties) whose values you use to configure the data source.
1.PropertyPlaceholder
2.PropertyPlaceholderConfigurer
3.Property
4.PropertyConfigurer
Posted Date:-2022-01-06 09:58:08
Adapters are opaque in nature.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:23:03
Attribute to configure how many items will be processed before the transaction is committed all the input is sent to the writer.
1. interval
2. commit
3.commit-interval
4.None of the mentioned
Posted Date:-2022-01-06 10:31:35
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.
1.org.springframework.batch.item.file.FlatFileItemReader
2.org.springframework.batch.item.file.FlatFile
3.org.springframework.batch.item.file.FlatFileItem
4.org.springframework.batch.item.file.FileItemReader
Posted Date:-2022-01-06 10:32:39
Element to configure this for the step:-
1.no-rollback-exception-classes
2.no-rollback-exception
3.no-rollback
4.None of the mentioned
Posted Date:-2022-01-06 10:54:47
However, it’s important to wear another hat, that of a DBA, when writing applications.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 10:00:55
Indeed, a step could be considered the smallest unit of work for a job. Input (what’s read) is passed to the Step and potentially processed; then output (what’s written) is created from the step.
1. Steplet
2.Tasklet
3.All of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 10:30:23
MapJobRegistry instance. This is critical—it is the central store for information regarding a given Job.
1. True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:58:42
Messages sent on the requests channel are forwarded to the:-
1.jms:outbound-gateway
2.jms:outbound
3. jms-gateway
4. all of the mentioned
Posted Date:-2022-01-06 09:46:10
No processing system (such as an ESB) can deal with a million records at once efficiently.
1.True
2.False
3.all of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 09:38:55
SimpleJobLauncher, whose sole purpose is to give you a mechanism to launch batch jobs, where a “job†in this case is our batch solution.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:59:18
Some invocations will fail but may be retried with some likelihood of success in a transactional scenario.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 11:00:19
Sometimes, functionality is made available from within the application via:-
1. Stable API
2.Cohesive API
3.All of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 09:36:31
Spring Batch excels in the robustness it surfaces as simple configuration options for the edge and failure cases.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 10:53:52
Spring Batch models solutions using XML schema.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 10:00:22
Spring Batch provides a convenience class, CompositeItemProcessor, which forwards the output of the filter to the input of the successive filter.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 10:47:29
Spring Batch provides a lot of flexibility and guarantees to your application, but it cannot work in a vacuum. To do its work:-
1.Job
2. JobRepo
3. JobRepository
4.All of the mentioned
Posted Date:-2022-01-06 09:50:08
Spring Batch reads the file, transforms the records into:-
1.objects
2.outputs
3.all of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 09:39:26
Spring Integration does support reading files into the bus.
1. True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:38:25
The API surfaces a Paging object, which works something like Criteria in Hibernate.
1. True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:37:10
The batch.xml file establishes a:-
1.BasicDataSource
2.DataSourceTransactionManager
3.All of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 10:52:19
The BPM engine would thread together the different actors and work lists,
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:39:52
The capability to hide messaging behind a POJO interface.
1.Lingo
2.JCA
3. JMS
4.All of the mentioned
Posted Date:-2022-01-06 09:41:25
The gateway element simply exists to identify the component and the interface.
1.True
2. False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:46:43
The most fundamental support for gateways comes from the Spring Integration class:-
1.SimpleMessagingGateway
2.SimpleMessaging
3. SimpleGateway
4.None of the mentioned
Posted Date:-2022-01-06 09:41:53
The names and values for the named parameters are being created by the bean configured for the itemSqlParameterSourceProvider property, an instance of the interface
1.BeanPropertyItemSqlParameterSourceProvider
2.BeanPropertyItemSqlParameterSource
3.BeanPropertyItemSqlParameter
4.All of the mentioned
Posted Date:-2022-01-06 10:41:02
The processor attribute on the chunk element expects a reference to a bean of the interface:-
1.org.springframework.batch.item.Item
2.org.springframework.batch.item
3.org.springframework.batch.item.ItemProcessor
4.none of the mentioned
Posted Date:-2022-01-06 10:45:36
The service-activator is what handles actual processing and there’s no mention of a response channel, for either the service-activator, or for the inbound JMS gateway.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:47:50
The SimpleMessagingGateway needs a request and a response channel, and it coordinates the rest.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:42:21
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.
1. Retry
2.RetryTemplate
3.All of the mentioned
4. None of the mentioned
Posted Date:-2022-01-06 11:03:09
There is no coupling between the client facing interface exposed via the gateway component and the interface of the service that ultimately handles the messages.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:47:15
There’s only one really useful implementation of the JobRepository interface, which stores information about the state of the batch processes in a database.
1.SimpleJobRepository
2.SimpleJob
3.SimpleRepo
4.All of the mentioned
Posted Date:-2022-01-06 09:57:17
There’s support for writing JMS:-
1. JmsItemWriter
2. JpaItemWriter
3.JdbcBatchItemWriter
4.All of the mentioned
Posted Date:-2022-01-06 10:43:49
To receive messages from an external system and process them using Spring Integration.
1. channel
2.channel adapter
3.EJP
4.None of the mentioned
Posted Date:-2022-01-06 09:22:42
To take an input file or a payload and reliably, and systematically, decompose it into events that an ESB can work with:-
1.Splitter
2.Spring Batch
3.All of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 09:37:59
Transaction capabilities are built on top of the first class support already provided by the core Spring framework.
1. True
2.False
3.none
4.None of the mentioned
Posted Date:-2022-01-06 10:50:20
You can leverage Spring Batch support for retries and recovery in your own code.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 11:02:04
You can specify exception classes on which to retry the operation. <step id = "step23"> <tasklet transaction-manager="transactionManager"> <chunk reader="csvFileReader" writer="jdbcItemWriter" commit-interval="10" retry-limit="3" cache-capacity="10"> <retryable-exception-classes> <include class="org.springframework.dao.DeadlockLoserDataAccessException"/> </retryable-exception-classes> </chunk> </tasklet> </step>
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 11:01:22
You use Spring Integration’s inbound-channel-adapter element to wire the TwitterMessageSource and a poller element.
1.True
2.False
3.none
4.all the mentoined
Posted Date:-2022-01-06 09:36:50
You want to conditionally move a message through different processes based on some criteria.
1. router component
2.EAI
3. all of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 09:21:27
You want to expose an interface to clients of your service, without betraying the fact that your service is implemented in terms of messaging middleware.
1.Enterprise Integration Patterns
2.Gateway
3.All of the mentioned
4.None of the mentioned
Posted Date:-2022-01-06 09:40:23
You want to work with a resource that may fail when you try to read from or write to it.
1.TransactionManager
2.Transaction
3.Spring batch retry
4. all of the mentioned
Posted Date:-2022-01-06 10:55:37