Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1609

JMX unregister of queues : some queues are ignored.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: Queue
    • Labels:
      None

      Description

      The @PreDestoy method called look like this :

      ```
      for ( String mbean : mbeans) {
      unregister(mbean);
      mbeans.remove(mbean);
      }
      ```

      Causing mbeans being ignored and not unregistered.

      Solution is to simply not modify collection content while working on it and simply clear it outside the for loop.

      Acceptance criteria :

      • Being able to launch a James server, stop it and restart it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: