a message driven bean listener interface may define more than one message listener method....
But, javax.JMS.MessageListener interface only has one onMessage() method. How can MDB define more than one message listener method?
posted 4 years ago
Let me answer my own question, according to a previous post a few years ago, someone said MDB implements javax.JMS.message listener usually.But MDB can also implents other interfaces from other messaging API. That is why there is such a quote
a message driven bean listener interface may define more than one message listener method
This thread looks like a nice example of solving your own problem, but you didn't only solve it, you also linked the correct answer by using the search facility of this site. I am sure it will help more people in the future and that is what Coderanch is about: don't be afraid to post a question, and share your answer when you solve the question!
Great example of how to use this site, you deserve a Cow!