Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB on error

 
siddharth sharma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When there is an error in the MDB,is the same instance of the MDB used for the retry? How can I check it? Is there any API in JAVA that tells me the unique attribute of an object?
 
Rejeev Divakaran
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When a message is re-tried, same instance of MDB may not be used.
You can find the uniqueness of an object by using identityhashcode.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic