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 834EE9E4B for ; Wed, 30 Nov 2011 02:34:34 +0000 (UTC) Received: (qmail 14171 invoked by uid 500); 30 Nov 2011 02:34:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 13771 invoked by uid 500); 30 Nov 2011 02:34:33 -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 13648 invoked by uid 99); 30 Nov 2011 02:34:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 02:34:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of suonayi2006@163.com designates 220.181.13.34 as permitted sender) Received: from [220.181.13.34] (HELO m13-34.163.com) (220.181.13.34) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 02:34:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Message-ID:In-Reply-To: References:Subject:MIME-Version:Content-Type; bh=hV1tep/F8XIpm// feXEWxlFw3VDLyrutyA0Sjww8N7g=; b=o4Hp1itGaf7V1N0HlsveOuPzoYtL1+7 icD81BF3Vi2NlfunrBoatvEzmFEsXEB77bpq9ZvOWFwGjhaUMYeyIQ0UYIhkkdMW neXjC7XACY43TiEoZK/HstObalDA/y0gzGKg2tsyRzdw1HxgDwuQwZtpS9mSp+0w QzAy4Noawj4M= Received: from suonayi2006 ( [203.119.80.8] ) by ajax-webmail-wmsvr34 (Coremail) ; Wed, 30 Nov 2011 10:33:59 +0800 (CST) Date: Wed, 30 Nov 2011 10:33:59 +0800 (CST) From: SuoNayi To: users@activemq.apache.org Message-ID: <37d219a6.12013.133f2524b8c.Coremail.suonayi2006@163.com> In-Reply-To: References: Subject: Reply:Buffering producer messages MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_252693_312499123.1322620439436" X-Originating-IP: [203.119.80.8] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 111110(15680.4167.4075) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-CTRLDATA: Pn2VHmZvb3Rlcl9odG09MTUwMjo4MQ== X-CM-TRANSID: IsGowGBpE0UXltVOdYIGAA--.526W X-CM-SenderInfo: xvxr0td1lsiiqw6rljoofrz/1tbiFhkIGj-6bR5pWwABsY X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== ------=_Part_252693_312499123.1322620439436 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit For AMQ there is no Buffered JMS Client like IBM MQ product. this says you cannot send messages or are blocked when the connection is broken. For failoverTransport, enabling trackMessages will keep messages sent in memory and replay them if connection recovers from broken. See http://activemq.apache.org/failover-transport-reference.html At 2011-11-30 00:27:26,"Joe Carter" wrote: >Hi, > >Does anyone know how to configure the connection factory so that it >will buffer messages while there's a temporary outage to the broker? >Basically the same as the "Buffered JMS client" in the IBM MQ product >http://www-10.lotus.com/ldd/lewiki.nsf/dx/01022009113953AMBJANPR.htm >At the moment my application receives exceptions until the connection >recovers and I can't afford to block (its a soft real time app). >If not I'll write my own wrapper but I'd be surprised if there's not >one out there already. > >Thanks >Joe ------=_Part_252693_312499123.1322620439436--