You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Michael Justin (Created) (JIRA)" <ji...@apache.org> on 2012/02/08 15:58:05 UTC

[jira] [Created] (APLO-157) Unsubscribing durable subscriptions is not successful

Unsubscribing durable subscriptions is not successful
-----------------------------------------------------

                 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


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

        

[jira] [Updated] (APLO-157) Unsubscribing durable subscriptions is not successful

Posted by "Hiram Chirino (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-157:
-------------------------------

    Fix Version/s: wish-list
    
> Unsubscribing durable subscriptions is not successful
> -----------------------------------------------------
>
>                 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
>             Fix For: wish-list
>
>
> 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

        

[jira] [Resolved] (APLO-157) Unsubscribing durable subscription does not work unless first subscribed to

Posted by "Hiram Chirino (Resolved) (JIRA)" <ji...@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

        

[jira] [Assigned] (APLO-157) Unsubscribing durable subscriptions is not successful

Posted by "Hiram Chirino (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino reassigned APLO-157:
----------------------------------

    Assignee: Hiram Chirino
    
> Unsubscribing durable subscriptions is not successful
> -----------------------------------------------------
>
>                 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: wish-list
>
>
> 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

        

[jira] [Commented] (APLO-157) Unsubscribing durable subscriptions is not successful

Posted by "Hiram Chirino (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209704#comment-13209704 ] 

Hiram Chirino commented on APLO-157:
------------------------------------

APLO-162 is kinda sorta related to this issue. Once you do delete a dsub, there's a bug in trying to create it again.
                
> Unsubscribing durable subscriptions is not successful
> -----------------------------------------------------
>
>                 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: wish-list
>
>
> 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

        

[jira] [Commented] (APLO-157) Unsubscribing durable subscriptions is not successful

Posted by "Hiram Chirino (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209382#comment-13209382 ] 

Hiram Chirino commented on APLO-157:
------------------------------------

I'll try to whip up a test case for this today.
                
> Unsubscribing durable subscriptions is not successful
> -----------------------------------------------------
>
>                 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: wish-list
>
>
> 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

        

[jira] [Commented] (APLO-157) Unsubscribing durable subscriptions is not successful

Posted by "Lionel Cons (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205469#comment-13205469 ] 

Lionel Cons commented on APLO-157:
----------------------------------

FWIW, when adding receipts while reproducing this bug, I in fact get an error on UNSUBSCRIBE. Apollo refuses to delete the subscription :-(

# Net::STOMP::Client->connect()
#  encoded CONNECT frame
#   H passcode:guest
#   H accept-version:1.0,1.1
#   H host:msg001.cern.ch
#   H login:guest
#   sent 80 bytes
#   received 111 bytes
#  decoding CONNECTED frame
#   H version:1.1
#   H server:apache-apollo/1.1-SNAPSHOT
#   H session:apollo-1
#   H heart-beat:100,10000
#   H user-id:guest
# Net::STOMP::Client->subscribe()
#  encoded SUBSCRIBE frame
#   H destination:/topic/test.mbtf.a49f6d35
#   H id:test.mbtf.84b8e80-4f3525ae-2dba-44c-1
#   H persistent:true
#   H receipt:84b8e80-4f3525ae-2dba-44c-2
#   sent 143 bytes
#   received 50 bytes
#  decoding RECEIPT frame
#   H receipt-id:84b8e80-4f3525ae-2dba-44c-2
# Net::STOMP::Client->disconnect()
#  encoded DISCONNECT frame
#   sent 13 bytes

# Net::STOMP::Client->connect()
#  encoded CONNECT frame
#   H passcode:guest
#   H accept-version:1.0,1.1
#   H host:msg001.cern.ch
#   H login:guest
#   sent 80 bytes
#   received 111 bytes
#  decoding CONNECTED frame
#   H version:1.1
#   H server:apache-apollo/1.1-SNAPSHOT
#   H session:apollo-2
#   H heart-beat:100,10000
#   H user-id:guest
# Net::STOMP::Client->send()
#  encoded SEND frame
#   H what:message
#   H destination:/topic/test.mbtf.a49f6d35
#   H receipt:86cf540-4f3525af-2dba-6455-1
#   H content-length:1
#   B 0000 78                                   x
#   sent 113 bytes
#   received 51 bytes
#  decoding RECEIPT frame
#   H receipt-id:86cf540-4f3525af-2dba-6455-1
# Net::STOMP::Client->disconnect()
#  encoded DISCONNECT frame
#   sent 13 bytes

# Net::STOMP::Client->connect()
#  encoded CONNECT frame
#   H passcode:guest
#   H accept-version:1.0,1.1
#   H host:msg001.cern.ch
#   H login:guest
#   sent 80 bytes
#   received 111 bytes
#  decoding CONNECTED frame
#   H version:1.1
#   H server:apache-apollo/1.1-SNAPSHOT
#   H session:apollo-3
#   H heart-beat:100,10000
#   H user-id:guest
# Net::STOMP::Client->unsubscribe()
#  encoded UNSUBSCRIBE frame
#   H id:test.mbtf.84b8e80-4f3525ae-2dba-44c-1
#   H receipt:86e4df0-4f3525af-2dba-30ef-1
#   H persistent:true
#   sent 108 bytes
#   received 85 bytes
#  decoding ERROR frame
#   H message:The subscription 'test.mbtf.84b8e80-4f3525ae-2dba-44c-1' not found.

                
> Unsubscribing durable subscriptions is not successful
> -----------------------------------------------------
>
>                 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
>             Fix For: wish-list
>
>
> 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

        

[jira] [Updated] (APLO-157) Unsubscribing durable subscription does not work unless first subscribed to

Posted by "Hiram Chirino (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-157:
-------------------------------

    Summary: Unsubscribing durable subscription does not work unless first subscribed to  (was: Unsubscribing durable subscriptions is not successful)
    
> 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

        

[jira] [Commented] (APLO-157) Unsubscribing durable subscriptions is not successful

Posted by "Hiram Chirino (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209649#comment-13209649 ] 

Hiram Chirino commented on APLO-157:
------------------------------------

BTW, as a work around if you subscribe first before unsubscribing, it should work.
                
> Unsubscribing durable subscriptions is not successful
> -----------------------------------------------------
>
>                 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: wish-list
>
>
> 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