Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 14790 invoked from network); 16 Oct 2009 00:02:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 00:02:16 -0000 Received: (qmail 65135 invoked by uid 500); 16 Oct 2009 00:02:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 65065 invoked by uid 500); 16 Oct 2009 00:02:15 -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 65055 invoked by uid 99); 16 Oct 2009 00:02:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 00:02:15 +0000 X-ASF-Spam-Status: No, hits=-10.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 00:02:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3B11234C4AB for ; Thu, 15 Oct 2009 17:01:52 -0700 (PDT) Message-ID: <546673988.1255651312796.JavaMail.jira@brutus> Date: Thu, 15 Oct 2009 17:01:52 -0700 (PDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQNET-172) Extend IConnection with connection information In-Reply-To: <1666614172.1246467606987.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQNET-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQNET-172. --------------------------------- Resolution: Fixed Notifications are now available in NMS API via the events, implemented in NMS.ActiveMQ. > Extend IConnection with connection information > ---------------------------------------------- > > Key: AMQNET-172 > URL: https://issues.apache.org/activemq/browse/AMQNET-172 > Project: ActiveMQ .Net > Issue Type: New Feature > Components: ActiveMQ > Environment: Any > Reporter: Michel Van Hoof > Assignee: Timothy Bish > Fix For: 1.2.0 > > Time Spent: 2 hours > Remaining Estimate: 0 minutes > > I think it would be "nice" to have some properties on the IConnection interface to get a status from the connection since while in most cases, you can get this through an exception, there is no realy way to know when your consumer is connected/disconnected from the broker when using the failover protocol > I have tryed to access the FailOverTransport.IsConnected property but apparently, there is no way to to this when using the IConnectionFactory > I don't know if it is possible to trigger an event on connect/disconnect from the broker and create an "isconnected" property ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.