Announcement Announcement Module

JavaConfig forum decommissioned in favor of Core Container

As described at

key features of the Spring JavaConfig project have been migrated into the core Spring Framework as of version 3.0.

Please see the Spring 3.0 documentation on @Configuration and @Bean support:

For any questions related to @Configuration classes and @Bean methods in Spring 3.0, please post in the dedicated 'Core Container' forum at
See more
See less
Transactions to receive batch messages using spring Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transactions to receive batch messages using spring

    I have a use case where I want redelivery of messages in case of exception thrown by consumer. So for that I searched and found out to use transactions because they guarantee redelivery.

    I want to commit the session after receiving bunch of messages, but I am not able to achieve this functionality by using DMLC( default message listener container) in my spring configuration file because DMLC internally commit on session after each message received.

    So what should I do to achieve above requirement ?