Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1123

Determining the messagingType of a MDB considers too many interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • AS 5.0.0.Beta3
    • None
    • None
    • None

      For determining the messagingType only directly implemented interfaces should be considered, not inherited.

      java.lang.RuntimeException: Unable to choose messagingType interface for MDB CallbackBean from [interface javax.jms.MessageListener, interface javax.jms.MessageListener, interface com.sun.ts.tests.ejb30.common.callback.CallbackIF]
      at org.jboss.ejb3.mdb.MDB.getMessagingType(MDB.java:77)
      at org.jboss.ejb3.mdb.MDB.resolveBusinessInterfaces(MDB.java:116)
      at org.jboss.ejb3.EJBContainer.instantiated(EJBContainer.java:1256)
      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:519)
      ... 72 more

              arubinge@redhat.com Andrew Rubinger (Inactive)
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: