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

Use pre compiled patterns for JMX ObjectName encoder

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. after.png
          20 kB
          Claus Ibsen
        2. before.png
          26 kB
          Claus Ibsen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment