• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

how to understand this regarding multiple message listener method?

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Create symphonies in seed and soil. For this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic