This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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