[jboss-jira] [JBoss JIRA] (WFLY-2939) JBAS014194 Extended Implementation of 'import javax.jms.MessageListener' not accepted

Eugen Eisler (JIRA) issues at jboss.org
Sat Feb 15 03:58:28 EST 2014


Eugen Eisler created WFLY-2939:
----------------------------------

             Summary: JBAS014194 Extended Implementation of 'import javax.jms.MessageListener' not accepted
                 Key: WFLY-2939
                 URL: https://issues.jboss.org/browse/WFLY-2939
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB
    Affects Versions: 8.0.0.Final
         Environment: Windows 7, 64bit, JDK 1.7
            Reporter: Eugen Eisler
            Assignee: David Lloyd


I am trying to deploy working Weblogic EAR  to WildFly and it is not working, because a MDB (ExampleTopic1Mdb) can not be deployed, what extends a super class(SingleTypeEventListenerBridgeByJms) which implements MessageListener, but the MDB itself does not have "implements javax.jms.MessageListener".

Error Message:
JBAS014194: EJB 3.1 FR 5.4.2 MessageDrivenBean does not implement 1 interface nor specifies message listener interface.


@SuppressWarnings("unused")
@MessageDriven(mappedName = ExampleConstants.JMS_TOPIC1,
               activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
                   @ActivationConfigProperty(propertyName = "topicMessagesDistributionMode", propertyValue = "One-Copy-Per-Application") })
@Traceable
public class ExampleTopic1Mdb extends SingleTypeEventListenerBridgeByJms<Task> {

  @Inject
  public void setExampleSynchronizer(EventListener<Task> exampleSynchronizer) {
    super.setEventListener(exampleSynchronizer);
  }
}

public class SingleTypeEventListenerBridgeByJms<T> implements javax.jms.MessageListener {
....

The class SingleTypeEventListenerBridgeByJms is in different ejb module of the EAR.





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list