Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-205

Invocations of message listener methods of message-driven beans during message delivery should not be business method invocations

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0, 1.1.EDR
    • Fix Version/s: 1.1.PFD
    • Component/s: None
    • Labels:
      None

      Description

      7.2. Container invocations and interception states:
      When the container invokes a method of a bean, the invocation may or may not be treated as a business method invocation:

      • Invocations of message listener methods of message-driven beans during message delivery are business method invocations.

      As MDBs are not CDI beans their methods shouldn't be business invocations (and thus should not pass through method interceptors and decorators).

      If the original intent was to support such use case the spec should be reworded.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: