• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transactions in MDB  RSS feed

 
Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can some one answer why does an MDB be declared only with either Required or NotSupported transaction attributes and not with other attributes?
thanks,
Srinivas.
 
Jialin Li
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when using mdb, the trasaction only can started when you get a message from a queue or topic. So required = required new, a trasaction context can't pass in the jms message. So you can just select support or not support. If use transaction, if some message arrived, onMessage() executed and one new transaction begun...
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!