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

Leonardo Maguetas Devai (JIRA) jira-events at lists.jboss.org
Tue Jul 10 14:54:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705258#comment-12705258 ] 

Leonardo Maguetas Devai commented on AS7-2638:
----------------------------------------------

Hi guys, this issue is states as "Resolved" for 7.1.0.Final, but I am reproducing it on 7.1.1.Final.
I guess this should be reopened.

DeploymentUnitProcessingException: EJB 3.1 FR 5.4.2 MessageDrivenBean org.titanium.adapters.BoomAdapter does not implement 1 interface nor specifies message listener interface
        at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getMessageListenerInterface(MessageDrivenComponentDescriptionFactory.java:182)
                
> 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: jaikiran pai
>             Fix For: 7.1.0.Final
>
>         Attachments: ZZear.ear
>
>
> 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