Apollo 1.0 unsubscribe durable subscriptions not successful

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Apollo 1.0 unsubscribe durable subscriptions not successful

mjustin_de
Hello,

with the final release, using Stomp 1.0 and 1.0, 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



--
Michael Justin
habarisoft - Enterprise Messaging Software for Delphi
http://www.habarisoft.com/
Reply | Threaded
Open this post in threaded view
|

Re: Apollo 1.0 unsubscribe durable subscriptions not successful

chirino
Sounds like a bug.  Could you log an issue at:

https://issues.apache.org/jira/browse/APLO

On Tue, Feb 7, 2012 at 3:05 AM, Michael Justin <[hidden email]>wrote:

> Hello,
>
> with the final release, using Stomp 1.0 and 1.0, 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
>
>
>
> --
> Michael Justin
> habarisoft - Enterprise Messaging Software for Delphi
> http://www.habarisoft.com/
>



--

**

*Hiram Chirino*

*Software Fellow | FuseSource Corp.*

*[hidden email] | fusesource.com*

*skype: hiramchirino | twitter: @hiramchirino<http://twitter.com/hiramchirino>
*

*blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>*

*
*

*
*
Reply | Threaded
Open this post in threaded view
|

Re: Apollo 1.0 unsubscribe durable subscriptions not successful

mjustin_de
Am 07.02.2012 21:30, Hiram Chirino wrote:
> Sounds like a bug.  Could you log an issue at:
>
> https://issues.apache.org/jira/browse/APLO

Created: https://issues.apache.org/jira/browse/APLO-157

--
Michael Justin