Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C14C965D for ; Tue, 6 Dec 2011 11:45:07 +0000 (UTC) Received: (qmail 68405 invoked by uid 500); 6 Dec 2011 11:45:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 68376 invoked by uid 500); 6 Dec 2011 11:45:07 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 68368 invoked by uid 99); 6 Dec 2011 11:45:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 11:45:07 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of torsten@fusesource.com designates 74.125.245.94 as permitted sender) Received: from [74.125.245.94] (HELO na3sys010aog113.obsmtp.com) (74.125.245.94) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 11:45:00 +0000 Received: from mail-bw0-f46.google.com ([209.85.214.46]) (using TLSv1) by na3sys010aob113.postini.com ([74.125.244.12]) with SMTP ID DSNKTt4AJ2AKcOSR9KR6Geu/YaABHwjFCnuC@postini.com; Tue, 06 Dec 2011 03:44:40 PST Received: by mail-bw0-f46.google.com with SMTP id zv3so3366584bkb.19 for ; Tue, 06 Dec 2011 03:44:39 -0800 (PST) Received: by 10.216.194.30 with SMTP id l30mr2837272wen.47.1323171879352; Tue, 06 Dec 2011 03:44:39 -0800 (PST) Received: from [192.168.178.31] (p57BD6879.dip0.t-ipconnect.de. [87.189.104.121]) by mx.google.com with ESMTPS id bl10sm14446319wib.15.2011.12.06.03.44.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Dec 2011 03:44:38 -0800 (PST) Subject: Re: Is there a simple way to solve the issuse of stuck messages when network? Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Torsten Mielke X-Priority: 3 In-Reply-To: <121e9285.17c30.13411f02379.Coremail.suonayi2006@163.com> Date: Tue, 6 Dec 2011 12:44:36 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0254D7CB-40DC-4B6C-B540-49E0D6B7977C@fusesource.com> References: <121e9285.17c30.13411f02379.Coremail.suonayi2006@163.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1084) Hi, Is it the replayWhenNoConsumers feature that you're looking for? See http://activemq.apache.org/networks-of-brokers.html, part "Stuck = messages". Torsten Mielke torsten@fusesource.com tmielke@blogspot.com On Dec 6, 2011, at 6:54 AM, SuoNayi wrote: > Hi all and professionals at fusesource, is there a simple way to solve = the issuse of stuck messages when network? > Could I modify some source code ,for example the = matchesForwardingFilter method in the class NetworkBridgeFilter ? > I want to annotate the line code which checks a message passes through = the target broker or not, > but this maybe cause other potential and unknown problem. > So could anyone give me a advice or some tips?Thanks a lot!