Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30B32CE12 for ; Wed, 26 Nov 2014 14:37:13 +0000 (UTC) Received: (qmail 78788 invoked by uid 500); 26 Nov 2014 14:37:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 78719 invoked by uid 500); 26 Nov 2014 14:37:13 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 78707 invoked by uid 99); 26 Nov 2014 14:37:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2014 14:37:12 +0000 Date: Wed, 26 Nov 2014 14:37:12 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-5439) updateClusterFilter doc sample; not using correct regular expression MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)