MCQs
You can have components subscribe to messages from this channel to override the exception handling behavior.
Spring Batch provides a mechanism to offload processing to another process. This feature, called remote chunking, is new in Spring Batch 2.x.
There are several types of messages defined in the JMS API, including TextMessage, MapMessage, BytesMessage, ObjectMessage, and StreamMessage.
You typically define a new channel for every point-to-point connection.
You can implement the ErrorNotifier interface to send e-mail notifications in case of errors.
Each time you call the replicate() method, all files in the source directory will be replicated to the destination directory. To avoid unexpected problems caused by concurrent replication, you declare this method as synchronized.
Spring provides several types of message listener containers for you to choose from in the org.springframework.jms.listener package, of which SimpleMessageListenerContainer and DefaultMessageListenerContainer are the most commonly used.
You might use a façade to build an interface oriented around vacation planning that in turn abstracts away the minutiae of using a car rental, hotel reservation, and airline reservation system.
There are some convenient default routers available to fill common needs, such as payload-type“based routing (PayloadTypeRouter) and routing to a group or list of channels (RecipientListRouter).
You can use the no-rollback-exception-classes element to configure this for the step. The value is a list of Exception classes that should not cause the transaction to roll back.