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 B2E1711438 for ; Wed, 21 May 2014 13:41:46 +0000 (UTC) Received: (qmail 56191 invoked by uid 500); 21 May 2014 13:41:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 56149 invoked by uid 500); 21 May 2014 13:41:46 -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 56141 invoked by uid 99); 21 May 2014 13:41:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 13:41:46 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of master.zakharov@gmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 13:41:43 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Wn6lK-0002D4-Pp for users@activemq.apache.org; Wed, 21 May 2014 06:40:54 -0700 Date: Wed, 21 May 2014 06:40:39 -0700 (PDT) From: "master.zakharov" To: users@activemq.apache.org Message-ID: <1400679639784-4681303.post@n4.nabble.com> Subject: Dynamic discovery for client libraries MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello I'd like to evaluate the approach with failover and dynamic discovery of ActiveMQ brokers for "client" libraries, i.e. not the one using the ActiveMQConnection, e.g. some libraries for MQTT protocol. For ActiveMQConnection's I may use the "failover://" protocol and in case of "updateClusterClients=true" option, the client need to know only about one broker to connect to. And how it can be achieved e.g. for MQTT? Are there some system topic the client can subscribe to and be notified about some broker in the cluster become (un)available? I checked the documentation for Advisory messages, but there are no messages related to cluster changes. And even if such topic exists, how can I get the initial list of brokers in the cluster? I hope the dynamic discovery is feasible, and someone could give me the reference to the documentation or code samples. Thanks in advance, Konstantin -- View this message in context: http://activemq.2283324.n4.nabble.com/Dynamic-discovery-for-client-libraries-tp4681303.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.