Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 58090 invoked from network); 21 Feb 2008 00:20:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 00:20:20 -0000 Received: (qmail 90250 invoked by uid 500); 21 Feb 2008 00:20:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 90228 invoked by uid 500); 21 Feb 2008 00:20:14 -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 90218 invoked by uid 99); 21 Feb 2008 00:20:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 16:20:14 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 00:19:28 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JRzAC-0006am-SK for users@activemq.apache.org; Wed, 20 Feb 2008 16:19:48 -0800 Message-ID: <15602222.post@talk.nabble.com> Date: Wed, 20 Feb 2008 16:19:48 -0800 (PST) From: semog To: users@activemq.apache.org Subject: Re: C# NMS questions. In-Reply-To: <15594276.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: e.semog@gmail.com References: <15508046.post@talk.nabble.com> <15594276.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Scott, The connect/reconnect scenario is implementation specific, which means it'll be manual. I've done something similar to what you are trying to do, but the re-connect is quiet since my application doesn't have any user interface. Some applications may not want to re-connect, others may want to send e-mail notifications. It varies. Let me know if you want any specific suggestions. - Jim Scott@Egistix wrote: > >> Have you tried to test this scenario? I believe you should get some >> exception when connection is broken. > > Yes, it does...but recovery is manual... > ie. > > Upon failure, I have to start a timer, and try and reconnect, upon > success, I then have to recreate my session and all my consumers, seems > cumbersome, I guess I was naively hoping for a better way. > > -- View this message in context: http://www.nabble.com/C--NMS-questions.-tp15508046s2354p15602222.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.