[jdev] PubSub subscriber question...
Jonathan Dickinson
jonathan.dickinson at k2.com
Mon Sep 15 00:08:32 CDT 2008
Remember, PubSub messages sent to you (if wrapped in a message stanza) will be retained by your server if you are offline.
> -----Original Message-----
> From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On
> Behalf Of Peter Saint-Andre
> Sent: Friday, September 12, 2008 12:52 AM
> To: Jabber/XMPP software development list
> Subject: Re: [jdev] PubSub subscriber question...
>
> Prakash R wrote:
> > Hi,
> >
> > I had a question on the subscribe part of pub-sub.
> >
> > 1. Lets say my client X is subscribed to a node and gets say message
> A
> > and B that gets published while its active.
> > 2. After some time Client X disconnects. At this time a message C is
> > published to the node.
> > 3. When it connects again. According to the spec, is it expected to
> > just receive C or nothing or A, B and C?
>
> It depends on how the node is configured, but typically you will
> receive the last published item only (i.e., "C"), not any of the
> earlier alerts.
>
> /psa
More information about the JDev
mailing list