| Author |
Message Type Support in MDB
|
Ravi Bansal
Ranch Hand
Joined: Aug 18, 2008
Posts: 82
|
|
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%
OCE-EJBD 90%
|
 |
 |
|
|
subject: Message Type Support in MDB
|
|
|