Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D8447200B44 for ; Thu, 14 Jul 2016 23:15:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D6E5C160A63; Thu, 14 Jul 2016 21:15:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 27D3D160A60 for ; Thu, 14 Jul 2016 23:15:03 +0200 (CEST) Received: (qmail 20265 invoked by uid 500); 14 Jul 2016 21:15:02 -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 20253 invoked by uid 99); 14 Jul 2016 21:15:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2016 21:15:02 +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 A6055C05EF for ; Thu, 14 Jul 2016 21:15:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.447 X-Spam-Level: X-Spam-Status: No, score=-6.447 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id uJ7uwu2oMquU for ; Thu, 14 Jul 2016 21:14:59 +0000 (UTC) Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F0A315FB40 for ; Thu, 14 Jul 2016 21:14:58 +0000 (UTC) Received: from zmail09.collab.prod.int.phx2.redhat.com (zmail09.collab.prod.int.phx2.redhat.com [10.5.83.11]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u6ELEqgE026483 for ; Thu, 14 Jul 2016 17:14:52 -0400 Date: Thu, 14 Jul 2016 17:14:52 -0400 (EDT) From: Justin Bertram To: dev@activemq.apache.org Message-ID: <1051285030.7247332.1468530892610.JavaMail.zimbra@redhat.com> In-Reply-To: <95D0FC0CE78C8940B186A37EED36AAE701A448BA70@colo-mail-1.exchange2.ara.wan> References: <95D0FC0CE78C8940B186A37EED36AAE701A448BA70@colo-mail-1.exchange2.ara.wan> Subject: Re: STOMP server quits sending to all subscribers when one client disconnects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.55.79] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC51 (Linux)/8.0.6_GA_5922) Thread-Topic: STOMP server quits sending to all subscribers when one client disconnects Thread-Index: AdHeEfc3xf0Mz9W4ScOSxwboLj8QjaiJ1HCm archived-at: Thu, 14 Jul 2016 21:15:04 -0000 Go ahead and open an issue on https://issues.apache.org/jira/browse/ARTEMIS and describe the issue as well as steps to reproduce. Justin ----- Original Message ----- From: "Ed Kaltenbach" To: dev@activemq.apache.org Sent: Thursday, July 14, 2016 4:10:10 PM Subject: STOMP server quits sending to all subscribers when one client disconnects I am using Wildfly 10.0.0 Final with the built-in ActiveMQ Artemis. I configured ActiveMQ-Artemis to support STOMP. All of my clients use STOMP to connect to a JMS topic. All of my code is working great. I have multiple clients connecting via STOMP and all are able to send and receive messages. The one issue that I have occurs when one of my client applications exits or disconnects from the STOMP server. When one of the clients shuts down or disconnects from the socket, all of the other client applications quit receiving messages. If I start a new client application, as soon as it sends a SUBSCRIBE message than all of the other client applications, that had previously sent SUBSCRIBE messages, will begin receiving messages again from the subscribed JMS topic. I have sample client applications in both Java and C# that illustrate the problem. I originally saw this problem when using Wildfly 9.0.2. I posted to the HornetQ developers forums and was advised to try Wildfly 10 and ActiveMQ-Artemis. However, upgrading to the newer versions did not fix the problem. Has anybody else seen this behavior? Does anybody have any suggestions how to fix or work around the problem? Like I said above, I have sample client applications that illustrate the problem that I would be happy to share. Thanks, Ed