Home / CSE MCQs / Spring MCQs :: Spring Enterprise, Messaging, Integration, Batch

CSE MCQs :: Spring MCQs

  1. Spring Batch provides a mechanism to offload processing to another process.
  2. A.
    chunking
    B.
    remote chunking
    C.
    remote
    D.
    none of the mentioned

  3. You can implement the interface to send e-mail notifications in case of errors.
  4. A.
    Notify
    B.
    Error
    C.
    ErrorNotifier
    D.
    None of the mentioned

  5. The configuration starts with the inboundHelloJMSMessageChannel channel, which tells Spring Integration what to name the point-to-point connection from the message queue to the:-
  6. A.
    service-activator
    B.
    service
    C.
    all of the mentioned
    D.
    none of the mentioned

  7. There are several types of messages defined in the JMS API, including:-
  8. A.
    TextMessage
    B.
    MapMessage
    C.
    BytesMessage
    D.
    All of the mentioned

  9. Method, all files in the source directory will be replicated to the destination directory.
  10. A.
    replicate
    B.
    copy
    C.
    rep
    D.
    none of the mentioned

  11. Spring provides several types of message listener containers:-
  12. A.
    SimpleMessageListenerContainer
    B.
    DefaultMessageListenerContainer
    C.
    All of the mentioned
    D.
    None of the mentioned

  13. There are some convenient default routers available to fill common needs:-
  14. A.
    PayloadTypeRouter
    B.
    PayloadType
    C.
    Payload
    D.
    None of the mentioned

  15. Serving to abstract away the functionality of other components in an abbreviated interface to provide courser functionality.
  16. A.
    facade
    B.
    façade
    C.
    gateway
    D.
    none of the mentioned

  17. 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.
  18. A.
    org.springframework.batch.item.file.Flat

    FileItemReader
    B.
    org.springframework.batch.item.file.FlatFile
    C.
    org.springframework.batch.item.file.FlatFileItem
    D.
    org.springframework.batch.item.file.File

    ItemReader

  19. Element to configure this for the step:-
  20. A.
    no-rollback-exception-classes
    B.
    no-rollback-exception
    C.
    no-rollback
    D.
    none of the mentioned