From users-return-29482-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Tue Nov 29 16:23:05 2011 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 D8E18772A for ; Tue, 29 Nov 2011 16:23:05 +0000 (UTC) Received: (qmail 16522 invoked by uid 500); 29 Nov 2011 16:23:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 16499 invoked by uid 500); 29 Nov 2011 16:23:05 -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 16491 invoked by uid 99); 29 Nov 2011 16:23:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 16:23:05 +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 (athena.apache.org: transitioning domain of jrr@cisco.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 16:22:59 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RVQS7-0006hw-IA for users@activemq.apache.org; Tue, 29 Nov 2011 08:22:39 -0800 Date: Tue, 29 Nov 2011 08:22:39 -0800 (PST) From: JRR To: users@activemq.apache.org Message-ID: <1322583759549-4119766.post@n4.nabble.com> Subject: Do activemq-cpp connection questions. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I've read through the activemq-cpp tutorial at http://activemq.apache.org/cms/cms-api-overview.html and I've poked around the forums. Do activemq-cpp connection have a timeout when the client is connecting to the broker? I ask because reading this post (http://activemq.2283324.n4.nabble.com/Async-Exception-multiple-threads-one-connection-tp2351214p2351217.html) comments on a connection being disconnected due to inactivity. Although that articles example is Java based as opposed to C++. I've looked through the connections class and I do not see anything relating to a connection timeout. Do activemqq-cpp connections have a timeout? Aside from that what is the process or detecting if a connection is down and then reestablishing the connection. For example, suppose the broker is restarted, but the producer is not. How would the producer know if its connection went down? Is it just that the MessageProducer's send throws an exception? In order to reestablish the connection is it a matter of reallocating everything, connection, session, message producer, etc? Are there other tutorials, web sites, etc. that you could refer me to for more information on activemq-cpp usage? Perhaps these questions are covered there? Thank your time, -=John -- View this message in context: http://activemq.2283324.n4.nabble.com/Do-activemq-cpp-connection-questions-tp4119766p4119766.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.