• 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!