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

updateClusterFilter doc sample; not using correct regular expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.10.0
    • None
    • Documentation
    • None

    Description

      The sample for updateClusterFilter in [1] uses

      updateClusterFilter="*A*,*B*" /> 
      

      This will throw an error as it does not appear to be a correct regular expression .

      tcp://localhost/127.0.0.1:61617@63382 shutdown due to a local error: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
      *A*
      

      I think that is meant to be:

      updateClusterFilter=".*A.*,.*B.*" /> 
      

      [1]http://activemq.apache.org/failover-transport-reference.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            pgfox Pat Fox
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: