Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4010

Use pre compiled patterns for JMX ObjectName encoder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • Broker
    • None

    Description

      Using string replaceAll does not cache the regexp, and would need to compile on each invocation.

      Its thus better to use a pre compiled pattern if possible.

      Attachments

        1. before.png
          26 kB
          Claus Ibsen
        2. after.png
          20 kB
          Claus Ibsen

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: