You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Michael Jakl (JIRA)" <ji...@apache.org> on 2009/06/10 14:46:08 UTC
[jira] Closed: (VYSPER-54) Publish to a node (XEP-0060 7.1)
[ https://issues.apache.org/jira/browse/VYSPER-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Jakl closed VYSPER-54.
------------------------------
Resolution: Fixed
Patch was applied.
> Publish to a node (XEP-0060 7.1)
> --------------------------------
>
> Key: VYSPER-54
> URL: https://issues.apache.org/jira/browse/VYSPER-54
> Project: VYSPER
> Issue Type: Sub-task
> Components: XEP0060 PubSub
> Reporter: Michael Jakl
> Assignee: Michael Jakl
> Attachments: VYSPER-54.1.patch
>
>
> The main use case for the pubsub service is of course publishing and distribution of messages.
> <iq type='set'
> from='hamlet@denmark.lit/blogbot'
> to='pubsub.shakespeare.lit'
> id='publish1'>
> <pubsub xmlns='http://jabber.org/protocol/pubsub'>
> <publish node='princely_musings'>
> <item id='bnd81g37d61f49fgn581'>
> <entry xmlns='http://www.w3.org/2005/Atom'>
> <title>Soliloquy</title>
> <summary>
> To be, or not to be: that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,
> Or to take arms against a sea of troubles,
> And by opposing end them?
> </summary>
> <link rel='alternate' type='text/html'
> href='http://denmark.lit/2003/12/13/atom03'/>
> <id>tag:denmark.lit,2003:entry-32397</id>
> <published>2003-12-13T18:30:02Z</published>
> <updated>2003-12-13T18:30:02Z</updated>
> </entry>
> </item>
> </publish>
> </pubsub>
> </iq>
> Answer from the server:
> <iq type='result'
> from='pubsub.shakespeare.lit'
> to='hamlet@denmark.lit/blogbot'
> id='publish1'>
> <pubsub xmlns='http://jabber.org/protocol/pubsub'>
> <publish node='princely_musings'>
> <item id='ae890ac52d0df67ed7cfdf51b644e901'/>
> </publish>
> </pubsub>
> </iq>
> Notification of subscriber (with payload):
> Example 93. Subscribers receive event notifications with payloads
> <message from='pubsub.shakespeare.lit' to='francisco@denmark.lit' id='foo'>
> <event xmlns='http://jabber.org/protocol/pubsub#event'>
> <items node='princely_musings'>
> <item id='ae890ac52d0df67ed7cfdf51b644e901'>
> <entry xmlns='http://www.w3.org/2005/Atom'>
> <title>Soliloquy</title>
> <summary>
> To be, or not to be: that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,
> Or to take arms against a sea of troubles,
> And by opposing end them?
> </summary>
> <link rel='alternate' type='text/html'
> href='http://denmark.lit/2003/12/13/atom03'/>
> <id>tag:denmark.lit,2003:entry-32397</id>
> <published>2003-12-13T18:30:02Z</published>
> <updated>2003-12-13T18:30:02Z</updated>
> </entry>
> </item>
> </items>
> </event>
> </message>
> <message from='pubsub.shakespeare.lit' to='bernardo@denmark.lit' id='bar'>
> <event xmlns='http://jabber.org/protocol/pubsub#event'>
> <items node='princely_musings'>
> <item id='ae890ac52d0df67ed7cfdf51b644e901'>
> <entry xmlns='http://www.w3.org/2005/Atom'>
> <title>Soliloquy</title>
> <summary>
> To be, or not to be: that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,
> Or to take arms against a sea of troubles,
> And by opposing end them?
> </summary>
> <link rel='alternate' type='text/html'
> href='http://denmark.lit/2003/12/13/atom03'/>
> <id>tag:denmark.lit,2003:entry-32397</id>
> <published>2003-12-13T18:30:02Z</published>
> <updated>2003-12-13T18:30:02Z</updated>
> </entry>
> </item>
> </items>
> </event>
> </message>
> <message from='pubsub.shakespeare.lit' to='horatio@denmark.lit' id='baz'>
> <event xmlns='http://jabber.org/protocol/pubsub#event'>
> <items node='princely_musings'>
> <item id='ae890ac52d0df67ed7cfdf51b644e901'>
> <entry xmlns='http://www.w3.org/2005/Atom'>
> <title>Soliloquy</title>
> <summary>
> To be, or not to be: that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,
> Or to take arms against a sea of troubles,
> And by opposing end them?
> </summary>
> <link rel='alternate' type='text/html'
> href='http://denmark.lit/2003/12/13/atom03'/>
> <id>tag:denmark.lit,2003:entry-32397</id>
> <published>2003-12-13T18:30:02Z</published>
> <updated>2003-12-13T18:30:02Z</updated>
> </entry>
> </item>
> </items>
> </event>
> </message>
> <message from='pubsub.shakespeare.lit' to='bard@shakespeare.lit' id='fez'>
> <event xmlns='http://jabber.org/protocol/pubsub#event'>
> <items node='princely_musings'>
> <item id='ae890ac52d0df67ed7cfdf51b644e901'>
> <entry xmlns='http://www.w3.org/2005/Atom'>
> <title>Soliloquy</title>
> <summary>
> To be, or not to be: that is the question:
> Whether 'tis nobler in the mind to suffer
> The slings and arrows of outrageous fortune,
> Or to take arms against a sea of troubles,
> And by opposing end them?
> </summary>
> <link rel='alternate' type='text/html'
> href='http://denmark.lit/2003/12/13/atom03'/>
> <id>tag:denmark.lit,2003:entry-32397</id>
> <published>2003-12-13T18:30:02Z</published>
> <updated>2003-12-13T18:30:02Z</updated>
> </entry>
> </item>
> </items>
> </event>
> </message>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.