On 11/28/2012 10:33 PM, andy nes wrote:
The List of subscribers will be dynamic and keeps changing. The
publisher need not (and should not) know who the subscribers are.
This makes a scenario where a Subscriber sends a subscription request to
Publisher not feasible.

So I think that the another thread for presences solution is definitely the best for you.


/andy


On Wed, Nov 28, 2012 at 8:59 PM, Sergey Dobrov <[email protected]
<mailto:[email protected]>> wrote:

    On 11/28/2012 09:00 PM, andy nes wrote:

        Hey Sergey,

        Thanks for the answer.

        I can do what you have suggested, but want to know if there is any
        better way (read inbuilt) to achieve this.


    It's normal way. The presence information should be sent to contacts
    from your roster. It's obvious that if you want to deliver it to
    someone who isn't there, you should do it by a separate channel.

    BTW, why you don't want to simply add recipients to a roster?


        /andy


        On Wed, Nov 28, 2012 at 4:00 PM, Sergey Dobrov
        <[email protected] <mailto:[email protected]>
        <mailto:[email protected] <mailto:[email protected]>>> wrote:

             Create another node where publish the presence?

             On 11/28/2012 05:15 PM, andy nes wrote:

                 Hi,

                 *Setup:*

                 I have setup a pubsub service wherein the publishers
        publish
                 geolocation
                 data at regular intervals.

                 The subscribers receive the location data of the
        publishers.

                 The subscribers are not presence subscribed, in the
        sense, the
                 subscribers are not in the publishers rosters.

                 *Problem:*

                 The subscribers need to know the presence status of
        publishers.

                 Is there a way for the subscribers to know the presence
        status of
                 publishers?

                 /andy


                 ___________________________________________________
                 JDev mailing list
                 Info: http://mail.jabber.org/____mailman/listinfo/jdev
        <http://mail.jabber.org/__mailman/listinfo/jdev>
                 <http://mail.jabber.org/__mailman/listinfo/jdev
        <http://mail.jabber.org/mailman/listinfo/jdev>>
                 Unsubscribe: [email protected]
        <mailto:[email protected]>
                 <mailto:JDev-unsubscribe@__jabber.org
        <mailto:[email protected]>>
                 ___________________________________________________




             --
             With best regards,
             Sergey Dobrov,
             XMPP Developer and JRuDevels.org founder.
             ___________________________________________________
             JDev mailing list
             Info: http://mail.jabber.org/____mailman/listinfo/jdev
        <http://mail.jabber.org/__mailman/listinfo/jdev>
             <http://mail.jabber.org/__mailman/listinfo/jdev
        <http://mail.jabber.org/mailman/listinfo/jdev>>
             Unsubscribe: [email protected]
        <mailto:[email protected]>
             <mailto:JDev-unsubscribe@__jabber.org
        <mailto:[email protected]>>
             ___________________________________________________





        _________________________________________________
        JDev mailing list
        Info: http://mail.jabber.org/__mailman/listinfo/jdev
        <http://mail.jabber.org/mailman/listinfo/jdev>
        Unsubscribe: [email protected]
        <mailto:[email protected]>
        _________________________________________________


    _________________________________________________
    JDev mailing list
    Info: http://mail.jabber.org/__mailman/listinfo/jdev
    <http://mail.jabber.org/mailman/listinfo/jdev>
    Unsubscribe: [email protected]
    <mailto:[email protected]>
    _________________________________________________




_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________



--
With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.
_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to