[jdev] PubSub subscriber question...
Peter Saint-Andre
stpeter at stpeter.im
Thu Sep 11 17:52:21 CDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6751 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20080911/d35ff130/attachment-0002.bin>
More information about the JDev
mailing list