Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2638

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Final
    • 7.0.2.Final
    • JMS
    • None

      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

              jaikiran Jaikiran Pai (Inactive)
              dgesino Davide Gesino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: