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

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • 4.1.0.Final
    • None
    • None

      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

              jesse.sightler@amentra.com Jesse Sightler
              abenaiss Akram Ben Aissi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: