Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-331

Add rule for Glassfish: MessageDriven must implement MessageListener or declare listenerInterface

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.1.0.Final
    • Component/s: None
    • Labels:

      Description

      Add a rule for Glassfish: MessageDriven must implement MessageListener or declare listenerInterface

      It looks like Glassfish is quite tolerant regarding the spec, and does not require that @MessageDriven implements MessageListener.

      On JBoss we have:
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEJB0094: EJB 3.1 FR 5.4.2 MessageDrivenBean com.company.ticket.mdb.TicketMDB does not implement 1 interface nor specifies message listener interface

      The spec: https://docs.oracle.com/javaee/6/tutorial/doc/bnbpo.html

        Attachments

          Activity

            People

            Assignee:
            jsightler Jess Sightler
            Reporter:
            akrambenaissi Akram Ben Aissi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: