WFLYEJB0094: EJB 3.1 FR 5.4.2 MessageDrivenBean does not implement 1
interface nor specifies message listener interface
------------------------------------------------------------------------------------------------------------------------
Key: WFLY-13153
URL:
https://issues.redhat.com/browse/WFLY-13153
Project: WildFly
Issue Type: Bug
Reporter: Rhuan Rocha
Assignee: Cheng Fang
Priority: Major
The MDB does not works when it extends a superclass that comes from an external JAR and
this super class implements the MessageListener. It generates this exception:
{code:java}
WFLYEJB0094: EJB 3.1 FR 5.4.2 MessageDrivenBean com.exemple.MyMDB does not implement 1
interface nor specifies message listener interface
{code}
These are what I have noted:
* It only happens in a EAR project. In a WAR project it works fine.
* It only happens when the abstract class come from an external JAR
* If the sub class implements directly the MessageListener or if the
messageListenerInterface is defined in the annotation it works fine.