Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Supported Acknowledgement modes in MDB..

 
Kuppusamy Venkatasubramanian
Ranch Hand
Posts: 91
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While going through EJB 3 in Action, i found that the supported acknowledgement modes for MDB are AUTO_ACKNOWLEDGE and DUPS_OK_ACKNOWLEDGE. CLIENT_ACKNOWLEDGE and SESSION_ACKNOWLEDGE are not supported as per page 130. Since the message is available in onMessage() method, i can still call message.acknowledge() which means CLIENT_ACKNOWLEDGE is working with MDB. Please correct me if i am wrong. So, CLIENT_ACKNOWLEDGE mode should be applicable to MDB. Why the it is classified as not supported with MDB?

Thanks in advance,
Kuppusamy.V.,
 
sivan jai
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Acknowledge modes are mostly ignored by the container. I think it mostly vendor dependent - for example in Jboss I have tried and it always retries messages when there is an exception regarless of acknowledge modes or transaction attributes.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic