How to handle disconnects

152 views
Skip to first unread message

jgauffin

unread,
Jun 14, 2013, 1:42:56 AM6/14/13
to stomp...@googlegroups.com
Hi,
 
Say that I got a client which have created an subscription and then gets disconnected. I then do not want the client to loose all messages in the queue or that got enqueue during the offline period.
 
To support that it would be great if the SUBSCRIBE header could have something like "persistent: 1" flag which would allow the client to connect again and send the same subscription ID to continue it's subscription.
 
//Jonas

Hiram Chirino

unread,
Jun 14, 2013, 9:31:25 AM6/14/13
to stomp-spec
That's getting into broker delivery semantics. Stomp tries to avoid
standardizing those semantics. But most brokers support something
like that. For example he's a link to the docs that explains how
Apollo handles it:

http://activemq.apache.org/apollo/documentation/stomp-manual.html#Topic_Durable_Subscriptions
> --
> You received this message because you are subscribed to the Google Groups
> "stomp-spec" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to stomp-spec+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Hiram Chirino

Engineering | Red Hat, Inc.

hchi...@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo
Reply all
Reply to author
Forward
0 new messages