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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum