jms-spec
  1. jms-spec
  2. JMS_SPEC-145

Allow the execution of async message sending on an application server if done within a ManagedExecutorService

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, we explicitly disallow the execution of async message sending in an application server.

      I believe we can allow it by leveraging the Java EE concurrency utilities. The sending of a message this way can be done using a call wrapped inside of a ManagedExecutorService.

        Activity

        Hide
        Nigel Deakin added a comment - - edited

        I wrote an explanation of why this was not permitted in JMS 2.0 in the JMS 2.0 Reasons FAQ. The main difficulty was in getting an async message send to participate correctly in an XA transaction. It's worth revisiting this to see if these issues can be overcome.

        Show
        Nigel Deakin added a comment - - edited I wrote an explanation of why this was not permitted in JMS 2.0 in the JMS 2.0 Reasons FAQ . The main difficulty was in getting an async message send to participate correctly in an XA transaction. It's worth revisiting this to see if these issues can be overcome.
        Hide
        Nigel Deakin added a comment -

        Adding to the list of issues to be considered for JMS 2.1 and tagging accordingly.

        Show
        Nigel Deakin added a comment - Adding to the list of issues to be considered for JMS 2.1 and tagging accordingly.

          People

          • Assignee:
            Unassigned
            Reporter:
            John D. Ament
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: