jQuery in Action, 3rd edition
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Message Type Support in MDB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Message Type Support in MDB" Watch "Message Type Support in MDB" New topic

Message Type Support in MDB

Ravi Bansal
Ranch Hand

Joined: Aug 18, 2008
Posts: 86
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

SCJP 5.0 94%
Gauri Chiplunkar

Joined: Dec 19, 2013
Posts: 7
Found one example. Please check -

I agree. Here's the link: http://aspose.com/file-tools
subject: Message Type Support in MDB
It's not a secret anymore!