Announcement Announcement Module
Collapse
No announcement yet.
JMS Spring Batch Processing Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS Spring Batch Processing

    Hi ,

    To consume multiple messages from jms(queue) and process the messages in a batch and insert the message into database

    1000 messages -> queue --->Spring Batch ---> Bulk Insert into Database

    Is there any documentation or source code available to implement spring batch from sun java messaging queue.

    Thanks
    gk

  • #2
    You may want to explore having a Camel route in front of Spring Batch.

    Comment


    • #3
      If you're just looking for a Spring Batch step to read from a queue and write to a database, that can easily be done with the JMSItemReader and the related Jdbc*ItemWriter. No need for Camel.

      Comment


      • #4
        Hi,
        I am also looking at a similar usecase. As I understand, JMSItemReader is just a reader and not listener. The requirement is to keep listenening to the queue and process the messages as and when we receive it.
        Can you please help ?
        Thanks,
        Bala

        Comment

        Working...
        X