[jboss-jira] [JBoss JIRA] (AS7-2638) a Message driven bean that implements MessageListener in a superclass is considered invalid.

Davide Gesino (Created) (JIRA) jira-events at lists.jboss.org
Tue Nov 15 08:50:41 EST 2011


a Message driven bean that implements MessageListener in a superclass is considered invalid.
--------------------------------------------------------------------------------------------

                 Key: AS7-2638
                 URL: https://issues.jboss.org/browse/AS7-2638
             Project: Application Server 7
          Issue Type: Bug
          Components: JMS
    Affects Versions: 7.0.2.Final
         Environment: windows vista
            Reporter: Davide Gesino
            Assignee: Clebert Suconic


a Message driven bean that implements MessageListener in a superclass is considered invalid.

I have:

public abstract class AsynchReplyManager implements MessageListener {
	public void onMessage(Message message) {... }
...}

@MessageDriven(mappedName = "myMappedName")
public class MyMessageDrivenBean extends AsynchReplyManager {
...
}


The deployment validator complains that:

"MyMessageDrivenBean does not implement 1 interface nor specifies message listener interface"

I think it should deal with the validator here:

https://github.com/jbossas/jboss-as/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/MessageDrivenComponentDescriptionFactory.java



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list