[
https://issues.apache.org/jira/browse/AMQ-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved AMQ-4010.
------------------------------
Resolution: Fixed
> Use pre compiled patterns for JMX ObjectName encoder
> ----------------------------------------------------
>
> Key: AMQ-4010
> URL: https://issues.apache.org/jira/browse/AMQ-4010
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.6.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 5.7.0
>
> Attachments: after.png, before.png
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira