Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 714179C16 for ; Thu, 16 Feb 2012 20:35:27 +0000 (UTC) Received: (qmail 56451 invoked by uid 500); 16 Feb 2012 20:35:27 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 56407 invoked by uid 500); 16 Feb 2012 20:35:27 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 56400 invoked by uid 99); 16 Feb 2012 20:35:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 20:35:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 20:35:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2B14C1BBC05 for ; Thu, 16 Feb 2012 20:35:00 +0000 (UTC) Date: Thu, 16 Feb 2012 20:35:00 +0000 (UTC) From: "Hiram Chirino (Resolved) (JIRA)" To: commits@activemq.apache.org Message-ID: <1422137328.47800.1329424500177.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <243428853.15037.1328713085008.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (APLO-157) Unsubscribing durable subscription does not work unless first subscribed to MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino resolved APLO-157. -------------------------------- Resolution: Fixed Fix Version/s: (was: wish-list) 1.1 > Unsubscribing durable subscription does not work unless first subscribed to > --------------------------------------------------------------------------- > > Key: APLO-157 > URL: https://issues.apache.org/jira/browse/APLO-157 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-stomp > Affects Versions: 1.0 > Environment: Windows Vista SP 2 > Reporter: Michael Justin > Assignee: Hiram Chirino > Fix For: 1.1 > > > with the final release, using Stomp 1.0 and 1.1, the broker still sends messages to the client after unsubscribing. Is this designed as different from ActiveMQ? > The sequence is: > * connect, create durable subscription "test", disconnect > * connect, send message to durable subscription "test", disconnect > * connect, destroy durable subscription "test", disconnect > * connect, create durable subscription "test", disconnect > * connect, read a message -> this fails in ActiveMQ but the message still is present in Apollo > send: > CONNECT > login:admin > passcode:password > accept-version:1.0,1.1 > server:localhost > heart-beat:0,0 > client-id:test > received: > CONNECTED > version:1.1 > server:apache-apollo/1.0 > session:mybroker-d0f > heart-beat:100,10000 > user-id:admin > send: > SUBSCRIBE > destination:/topic/TEST.DEFAULT > id:test > persistent:true > send: > DISCONNECT > client-id:test > send: > CONNECT > login:admin > passcode:password > accept-version:1.0,1.1 > server:localhost > heart-beat:0,0 > received: > CONNECTED > version:1.1 > server:apache-apollo/1.0 > session:mybroker-d10 > heart-beat:100,10000 > user-id:admin > send: > SEND > destination:/topic/TEST.DEFAULT > persistent:true > Message 1 > send: > DISCONNECT > send: > CONNECT > login:admin > passcode:password > accept-version:1.0,1.1 > server:localhost > heart-beat:0,0 > client-id:test > received: > CONNECTED > version:1.1 > server:apache-apollo/1.0 > session:mybroker-d11 > heart-beat:100,10000 > user-id:admin > send: > UNSUBSCRIBE > id:test > persistent:true > send: > DISCONNECT > client-id:test > send: > CONNECT > login:admin > passcode:password > accept-version:1.0,1.1 > server:localhost > heart-beat:0,0 > client-id:test > received: > CONNECTED > version:1.1 > server:apache-apollo/1.0 > session:mybroker-d12 > heart-beat:100,10000 > user-id:admin > send: > SUBSCRIBE > destination:/topic/TEST.DEFAULT > id:test > persistent:true > received: > MESSAGE > subscription:test > message-id:mybroker-d101 > destination:/topic/TEST.DEFAULT > persistent:true > send: > DISCONNECT > client-id:test -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira