users@glassfish.java.net

Re: multiple MDB deployment issue, Unsupported message listener type

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Feb 2009 06:31:45 PST

I've found error:
Wrong:
<messageadapter>
        <messagelistener>
<messagelistener-type>com.unknown.jee.omf.domain.SimpleOverloadListener</messagelistener-type>
</messagelistener>
        <activationspec>
<activationspec-class>com.unknown.jee.omf.ActivationSpecImpl</activationspec-class>
</activationspec>
</messageadapter>

correct:
<messageadapter>
        <messagelistener>
<messagelistener-type>com.unknown.jee.omf.domain.SimpleOverloadListener</messagelistener-type>
        <activationspec>
<activationspec-class>com.unknown.jee.omf.ActivationSpecImpl</activationspec-class>
[b]</activationspec>
</messagelistener>
[/b]</messageadapter>

<activationspec> inside <messagelistener>, not in <messageadapter>.
[Message sent by forum member 'theme_theme' (theme_theme)]

http://forums.java.net/jive/thread.jspa?messageID=332254