Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-856

updateClusterFilter doc sample; not using correct regular expression

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.1
    • Documentation
    • None

      The sample 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] https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_A-MQ/6.1/html/Fault_Tolerant_Messaging/files/FMQFaultTolDynamicFailover.html

              Unassigned Unassigned
              rhn-support-pfox Patrick Fox (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: