mq
  1. mq
  2. MQ-279

Allow consumer close from any thread, including from a message listener on its own consumer

    Details

      Description

      The JMS EG has agreed to revise the behaviour of consumer close to:

      • Allow consumer.close to be called from within a message listener
      • Allowing a consumer to be closed from any thread, even if it isn't the thread of control

      This issue requests the implementation of this revised behaviour.

      A summary of the change can be seen here, but for a definitive definition see the draft JMS specification and the draft API docs .

        Activity

        Hide
        amyk added a comment - - edited

        implemented

        Show
        amyk added a comment - - edited implemented
        Hide
        amyk added a comment -

        dev test cases
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer1
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2_waitclose
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer3
        ~

        Show
        amyk added a comment - dev test cases tonga/jmsclient/api/jms20/closeconsumer/closeconsumer1 tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2 tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2_waitclose tonga/jmsclient/api/jms20/closeconsumer/closeconsumer3 ~
        Hide
        mathim added a comment -

        closing this issue as the dev tests written by amy pass in the tonga milestone test runs.

        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer1
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2_waitclose
        tonga/jmsclient/api/jms20/closeconsumer/closeconsumer3

        Show
        mathim added a comment - closing this issue as the dev tests written by amy pass in the tonga milestone test runs. tonga/jmsclient/api/jms20/closeconsumer/closeconsumer1 tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2 tonga/jmsclient/api/jms20/closeconsumer/closeconsumer2_waitclose tonga/jmsclient/api/jms20/closeconsumer/closeconsumer3

          People

          • Assignee:
            amyk
            Reporter:
            Nigel Deakin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: