File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to understand this regarding multiple message listener method?

 
Helen Ge
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I need someone's opinion regarding how to understand this statement from MZ's note:



A bean's message listener interface may define more than one message listener method. If the message listener interface contains more than one method, it is the resource adapter that determines which method is invoked.



To my knowledge, the javax.jms.MessageListener only defined one single method - onMessage() which the bean need to implement, so how to interpret the above quote? I am guessing that could that actually means that the bean can implement different MESSAGE LISTENER INTERFACE for the messaging type that the message-driven bean supports? but can only supports one specific MESSAGE LISTENER INTERFACE not multiple.


Please share your opinion with me.

thanks
 
Narendra Dhande
Ranch Hand
Posts: 951
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is for thy messaging other than JMS. Though the MDB by default use the JMS, the specifications are designed to use any messaging systems other than JMS.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic