It's not a secret anymore!
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 agree. Here's the link:
subject: MDB on error
It's not a secret anymore!