Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 66238 invoked from network); 28 Mar 2011 13:41:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 13:41:26 -0000 Received: (qmail 89652 invoked by uid 500); 28 Mar 2011 13:41:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 89621 invoked by uid 500); 28 Mar 2011 13:41:25 -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 89613 invoked by uid 99); 28 Mar 2011 13:41:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 13:41:25 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 13:41:19 +0000 Received: from joe.nabble.com ([192.168.236.151]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Q4Cgj-0006NO-SY for users@activemq.apache.org; Mon, 28 Mar 2011 06:40:57 -0700 Date: Mon, 28 Mar 2011 06:40:57 -0700 (PDT) From: Oli To: users@activemq.apache.org Message-ID: <1301319657862-3411755.post@n4.nabble.com> Subject: ActiveMq broker stops receiving messages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a setup where 2 instances of an application run on seperate machines. The applications are java applications created as projects in NetBeans. I am using an ActiveMQConnectionFactory for a peer group connection, using the following connection string: "peer://groupA/MachineName?persistent=true". Each instance (machine) then sets up a connection to send and receive from the same topic using camel routes, and the connection string: "jms:topic:TOPICNAME?clientId=ID&durableSubscriptionName=SubscriptionName". I set the system up so that a loop runs on each machine, sending one messages to the topic every 10 seconds. This all works well for a while, i.e. both applications send and receive each others messages without any problems, but after a while one of the machines completely stops receiving messages from the other machine, whilst still being able to send messages without any problems. If I then shut down the applications and restart, the missing messages are all read without problems from the topic. Does anyone know why this might be happening? I am using activemq v. 5.4.2 and camel v. 2.4.0 in my application. One of the applications is running on Vista, and the other one on XP. Oli -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMq-broker-stops-receiving-messages-tp3411755p3411755.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.