You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Pat Fox (JIRA)" <ji...@apache.org> on 2014/11/14 17:53:33 UTC

[jira] [Created] (AMQ-5439) updateClusterFilter doc sample; not using correct regular expression

Pat Fox created AMQ-5439:
----------------------------

             Summary: updateClusterFilter doc sample; not using correct regular expression
                 Key: AMQ-5439
                 URL: https://issues.apache.org/jira/browse/AMQ-5439
             Project: ActiveMQ
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 5.10.0
            Reporter: Pat Fox
            Priority: Trivial


The sample for updateClusterFilter in  [1] uses

{code}
updateClusterFilter="*A*,*B*" /> 
{code}

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

{code}
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*
{code}


I think that is meant to be:


{code}
updateClusterFilter=".*A.*,.*B.*" /> 
{code}

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)