This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes MDB on error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MDB on error" Watch "MDB on error" New topic

MDB on error

siddharth sharma

Joined: Apr 15, 2005
Posts: 8
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

Joined: Aug 12, 2007
Posts: 27
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.

Regards,<br />Rejeev<br />Blog: <a href="" target="_blank" rel="nofollow"></a>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: MDB on error
jQuery in Action, 3rd edition