Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Runtime Exception in onMessage  RSS feed

 
Raj Chukka
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got a question from an interviewer.

1. What will happen if a RuntimeException occurs in onMessage() method of MDB.
2. Also in a queue if the first message is corrupted, how to retrieve the next messages.

Can someone answer this?

Thanks in advance.

Thanks,
Raj
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!