Newsletters over XMPP, MUC without chat rooms and more...
StanzaReceiver is a twin component for StanzaSender but much more powerfull. Hm, so maybe it is not a twin actually...
StanzaSender is a simple and limited component which executes tasks in specified intervals of time. Usually these tasks monitor some resource for data to send as XMPP stanzas. Simple but efficient way to intergrate Jabber server with any other software like web forums, software development management or something different which requires instant notofications about events.
StanzaReceiver on the other hand is much more complex and powerfull component. It is event driven instead of time driven. Events are generated by received XMPP packets.
The basic idea is to distribute messages to subscribed users.
The idea is not new but in IM world it opens quite new possibilities...
You can use it as a newsletter over XMPP to distribute occasional information to interested group of users.
You can use it as a mailing list over XMPP which in effect is something like MUC without chat rooms. This is very usefull in many cases. You don't need to have opened many chat rooms to take part in discussions with different groups of users.
Let's say you have a support forum where users can ask questions and help desk team who can respond for questions. Help desk members can be online and available or can be off line and not available. StanzaReceiver can notify only those help desk members who are online. Using more advanced task implementation they can not only receive notifications about new posts but they can also respond directly to the Web forum from XMPP client.
If you have short news section on your site and you have a team who can post messages to this section through StanzaReceiver they can not only do it directly from their XMPP client but also all other team members are notified about new posts instanly.
For sites and service building community groups this feature is invaluable. Users can easily create own discussion groups based on subscription tasks. They can manage tasks, subscribers, moderate subscriptions and much more. All posts can be archived and viewed online on web site.
Possibilities are endless and most of features mentioned above are already implemented and available in the last Tigase version. For average user it is very simple to use as the system uses just basics of XMPP protocol - <presence> stanzas for subscribtions and status notification and <message> for exchanging information. Nothing more!
Well, <presence> and <message> only are needed for users who just want to use this functionality. I mean subscribe to forum monitor or discussion group. For those who want to create new subscription tasks or manage existing tasks, approve moderations and so on a bit more functionality in client is required. As usually in Tigase server you need a client with good service-discovery and ad-hoc commands support.
You can either install Tigase on your own for tests or you can try all new stuff on the server installed at tigase.org address. Just make sure you create account for yourself on Tigase Web site. You can either subscribe to a number of existing tasks or create new subscription tasks for your tests.
If your client doesn't fully support service discovery it might be difficult to find out what subscription tasks are available. Here is a list of active subscription on tigase.org server so you can simply add some of them as a new contact to your roster and start tests:
firstname.lastname@example.org - subscription for all kinds of tests, add it to your roster, post messages or wait until someone else posts a message.
email@example.com - I will occasionally send send a message for all subscribes about news related to Tigase development. These news will not be published anywhere else. You will be able to respond directly to me and discuss the topic.
firstname.lastname@example.org - FAQ forum monitor. All new topics or comments published on this forum will be automatically forwarded to all subscribers.
email@example.com - Tigase admin support forum monitor. All new topics or comments published on this forum will be automatically forwarded to all subscribers.
firstname.lastname@example.org - Tigase devel forum monitor. All new topics or comments published on this forum will be automatically forwarded to all subscribers.
email@example.com - Tigase site forum monitor. All new topics or comments published on this forum will be automatically forwarded to all subscribers.
firstname.lastname@example.org - Tigase user support forum monitor. All new topics or comments published on this forum will be automatically forwarded to all subscribers.