aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Transaction Management with Spring JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transaction Management with Spring JMS" Watch "Transaction Management with Spring JMS" New topic
Author

Transaction Management with Spring JMS

Palash Sahu
Greenhorn

Joined: Dec 06, 2006
Posts: 13
Hi,
I am not confident how DefaultMessageListenerContainer use TransactionManager to work upon MessageDrivenPOJO. If I configure JtaTransactionManger with DefaultMessageListenerContainer. Does DefaultMessageListenerContainer perform actions like ( commit , rollback etc.)
internally ?
Does Spring provide any solution for bulk message commit. ( Consider a scenario if commit action is to be performed after receving 50 messages and processing those messages.) ?

Can I write custom MessageDrivenPOJO using MessageListenerAdapter and
inject TansactionManger into it ?

Could some one please provide me sample code how to use TransactionManager with MessageDrivenPOJo ??
Any help will be highly appreciated.

Regards,
Sabyasachi
L zhong
Greenhorn

Joined: Oct 31, 2006
Posts: 4
hope below helps:
http://java-x.blogspot.com/2006/12/implementing-jms-with-spring-message.html for reference.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction Management with Spring JMS
 
Similar Threads
MDB and BMT
Spring JMS - DefaultMessageListenerContainer and taskExecuter
Spring Aop
What's wrong with my spring config?
DefaultMessageListenerContainer not getting started