Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1921

Cancel operation is ignored when flushing JMS destination metrics in the management console

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      1. Launch a standalone-full.xml instance.
      2. Create a queue, helloworld-jms quickstart is sufficient.
      3. In the management console, go to "Runtime > JMS Destinations > Queues" tab.
      4. Select the queue and push "Flush".
      5. Push "Cancel" in the dialog.
      6. "Cancel" is ignored and messages are flushed.

      Show
      1. Launch a standalone-full.xml instance. 2. Create a queue, helloworld-jms quickstart is sufficient. 3. In the management console, go to "Runtime > JMS Destinations > Queues" tab. 4. Select the queue and push "Flush". 5. Push "Cancel" in the dialog. 6. "Cancel" is ignored and messages are flushed.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      In CLI, "remove-messages" is the equivalent operation.

      /subsystem=messaging/hornetq-server=default/jms-queue=testQueue:remove-messages()
      
      Show
      In CLI, "remove-messages" is the equivalent operation. /subsystem=messaging/hornetq-server= default /jms-queue=testQueue:remove-messages()

      Description

      When you push "Flush" button on JMS Destinations runtime tab (both of queues and topics), a confirmation dialog box brings up. "Cancel" button in the dialog box is always ignored and destination flushing is inevitably executed.

        Attachments

          Activity

            People

            Assignee:
            harald.pehl Harald Pehl
            Reporter:
            osamu.nagano Osamu Nagano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: