Posted: Thu Oct 16, 2003 8:44 pm Post subject: Persistence in Message Driven Beans
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
I implemented a Message driven bean which gets a message from MQQueue. My question is after I get the message from the queue if the MDB crashes I basically loose my message right? how do I deal with a situation like this? any pointers? thanks
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
I think the answer is it depends on what kind of transaction type you are using. If you are using Bean managed, then the MDB controls the transaction. Its crashing would rollback the message. If you are using Container managed, then the MDB crash would throw away the message.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum