Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Message Type Support in MDB

Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 3.1 Spec Section 5.4.2

The message-driven bean class’s implementation of the javax.jms.MessageListenerinterface distinguishes the message-driven bean as a JMS message-driven bean.

This means that MDB also supports non-JMS messages (means other than JMS message types) depending on listener interface it implements . Can anyone give any example of such interface.?
I checked many references and seems that all of them are in context of processing JMS messages.

From the same section of Spec , there is another qoute

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.

Again, I could not find any example of message listener interface which has more than message listener method. Can anyone explain this by some example ?

Thanks in Advance
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found one example. Please check -
Remember to always leap before you look. But always take the time to smell the tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic