[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-dev
Subject: [jira] [Resolved] (AMQ-5439) updateClusterFilter doc sample; not using correct regular expression
From: "Timothy Bish (JIRA)" <jira () apache ! org>
Date: 2014-11-26 14:37:12
Message-ID: JIRA.12755414.1415983995000.26847.1417012632881 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AMQ-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Timothy Bish resolved AMQ-5439.
-------------------------------
Resolution: Fixed
Updated docs.
> 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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic