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 6A155186AE for ; Wed, 27 May 2015 12:31:38 +0000 (UTC) Received: (qmail 24293 invoked by uid 500); 27 May 2015 12:31:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 24254 invoked by uid 500); 27 May 2015 12:31:28 -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 24242 invoked by uid 99); 27 May 2015 12:31:28 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 12:31:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DF0EFC0F4E for ; Wed, 27 May 2015 12:31:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.715 X-Spam-Level: ***** X-Spam-Status: No, score=5.715 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=1.171] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id z0jjzro_eAwG for ; Wed, 27 May 2015 12:31:22 +0000 (UTC) Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 36FEC2309E for ; Wed, 27 May 2015 12:31:22 +0000 (UTC) Received: by igcau1 with SMTP id au1so12364444igc.1 for ; Wed, 27 May 2015 05:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=fviCQabwogeZ4IKwLFk7xfTBpB2ob+3vZw55uO8G3Rs=; b=PM9ZO8Ae/90+4n+SOmSCibDgqLDmcw5N96EaDSMN1yz1Pq1SESaHeeFnekPRdccfXz k3wwFpVdjCBBonlNY5b0+dT2r546j5zo7YEwex+HPFM63JpfdEr9P90F0Lct6XpM18nV 9gUCpAJmqbF1vCp1x/BuTbPiTX3bpLUGKTSiNyWE172VynHY9lqs0hbR53dbApsoFxGx 3PsqhFa3FpcmDMlQCsVKc5LKyd4gttH2E2xHc0GXfjdSjY3zV+PDWl0qHcdB6P2SZ8wh TPXpSuGzQuDhko8sOdxqrzXXhmyEktz5wDt9LF2tdkaZZy2eCn+PFYiN4tNNtHNE4biL zrgQ== MIME-Version: 1.0 X-Received: by 10.50.103.97 with SMTP id fv1mr3692814igb.27.1432729881675; Wed, 27 May 2015 05:31:21 -0700 (PDT) Sender: tbain98@gmail.com Received: by 10.50.251.141 with HTTP; Wed, 27 May 2015 05:31:21 -0700 (PDT) Received: by 10.50.251.141 with HTTP; Wed, 27 May 2015 05:31:21 -0700 (PDT) In-Reply-To: <1432726576295-4696939.post@n4.nabble.com> References: <1432726576295-4696939.post@n4.nabble.com> Date: Wed, 27 May 2015 06:31:21 -0600 X-Google-Sender-Auth: e5WRg4ZvmCO-aYbBk55j8ovD8Ig Message-ID: Subject: Re: Constant reconnect in ActiveMQ Transport thread? From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=047d7b2e093da8101e05170f6bb1 --047d7b2e093da8101e05170f6bb1 Content-Type: text/plain; charset=UTF-8 Is there any chance you're using JmsTemplate without a connection pool? See http://activemq.apache.org/jmstemplate-gotchas.html for details. On May 27, 2015 5:55 AM, "kent71" wrote: > I am fairly new to ActiveMQ so excuse me if this is a newb question, I did > scan the FAQ and didn't find anything answering this... > > I am using ActiveMQ with JMS and spring and when I debug I see that the > "ActiveMQ Transport" thread is constantly refreshing and establishing a new > connection every second, is this normal? > > I have not seen it cause any real problem so far, the messages arrive very > quickly and all seems well, although it is a bit annoying during debugging > and I guess it could be a symptom of an underlying problem? > > I am using the following dependency in maven: > > org.apache.activemq > activemq-broker > 5.10.1 > > > And I am connecting to a server with the same version installed on an > Amazon > EC2 instance, using openwire protocol on port 61616 > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Constant-reconnect-in-ActiveMQ-Transport-thread-tp4696939.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --047d7b2e093da8101e05170f6bb1--