Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2939

JBAS014194 Extended Implementation of 'import javax.jms.MessageListener' not accepted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 8.0.0.Final
    • EJB
    • None
    • Workaround Exists
    • Hide

      Add "implements javax.jms.MessageListener" to the MDB

      Show
      Add "implements javax.jms.MessageListener" to the MDB

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eugeis_jira Eugen Eisler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: