xmpp

What's the best event push method from servlet to clients (esp. lightweight mobile ones)

This question must have been asked a thousand times but I couldn't find good high-level guide. I want to push events with a particular topic from a JMS (ActiveMQ, to be exact) as they occur, to clients that subscribe to listen to that topic. I don't have many assumptions about the clients, but I especially want to target mobile clients...

item-not-found(404) when trying to get a node using Smackx pubsub

I'm trying to use the latest Smackx trunk to get and then subscribe to a pubsub node. However, openfire just sends me a back an error: item not found (404). I am instantiating the java objects from ColdFusion, so my code snippets might look funny but maybe someone will be able to tell me what I've forgotten. Here's how I create the nod...

keeping xmphp bot always online

I created a simple xmpp bot in PHP which connects to google talk server. I basically modified the cli_longrun example. When I run the script in browser the bot comes online and stays online for a while even after I close the tab on which the script was running (as it is just an infinite loop listening for events on the stream). But after...

python-xmpp and looping through list of recipients to receive and IM message

I can't figure out the problem and want some input as to whether my Python code is incorrect, or if this is an issue or design limitation of Python XMPP library. I'm new to Python by the way. Here's snippets of code in question below. What I'd like to do is read in a text file of IM recipients, one recipient per line, in XMPP/Jabber ID ...

Recommendations on apache tuning for chat application

Hi, I have a chat application (xmpp / muc) that is going to be served by apache (we might change to nginx later but right now it's not easily done). If a user is in 2 rooms, he'll have between 2 and 4 active connections to the server (long-polling connections), so if we have 200 users per room and we have 5 rooms, what should the Server...

Open chat in Cocoa XMPPFramework

How to open new chat on XMPPFramework? Something like this example: XMPPConnection.DEBUG_ENABLED = true; ConnectionConfiguration config = new ConnectionConfiguration("server.com", 5222); config.setCompressionEnabled(false); config.setSecurityMode(ConnectionConfiguration.SecurityMode.valueOf("disabled")); config.setSASL...

I'm searching for a messaging platform (like XMPP) that allows tight integration with a web application.

Hi, At the company I work for, we are building a cluster of web applications for collaboration. Things like accounting, billing, CRM etc. We are using a RESTfull technique: For database we use CouchDB Different applications communicate with one another and with the database via http. Besides, we have a single sign on solution, so tha...

Group Chat XMPP with Google App Engine

Google App Engine has a great XMPP service built in. One of the few limitations it has is that it doesn't support receiving messages from a group chat. That's the one thing I want to do with it. :( Can I run a 3rd party XMPP/Jabber server on App Engine that supports group chat? If so, which one? ...

How can I transfer a file via XMPP using Python?

I'm using xmpppy library for my jabber remote administration bot, but I can't find how to send/receive a file and save it inside the directory specified. The documentation is poor and there isn't any examples, but I really want to make it. Can anyone show some examples or some links about it? Or maybe I should use an alternative xmpp bin...

View the messages published to ejabberd xmpp nodes.

I have an ejabberd xmpp pubsub server and I'd like to view the messages that have been published to specific nodes. Is there a way to accomplish this within the web admin; if not, how? Thanks much. ...

Send invitation to any user of google chats (is it possible?)

Hi I try to realize simple code on perl which should just get/send messages from/to gtalk accounts. I use Net::XMPP::* modules. All works just fine for users, who are my friends (in my "buddy" list). But i can't send message to unknown user. I know, that for this case i must send an invitation first, but Net::XMPP::* don't provide ...

Is it possible to run XMPP based PHP and Javascript Multiplayer Network Game in FaceBook?

Hi, let me introduce my story first. To develop a multiplayer network game in facebook, flash used to be a king but it consumes a lot of resources for client and I feel like it isn't worth for a card game. So I come with an idea that front-end will use Javascript (of course with jQuery) and backend with PHP. But for real-time communicati...

how to start with a voip/public announcement project?

The main requirements are: open source solution on Linux support P2P VoIP calls support presence support multicast VoIP announcements (and maybe some way of setting up such a "conference") preferably serverless (maybe the network can get split and I'd need to keep the functionality for all clients that still see each other) I tried l...

xmpp and facebook, cant get clear list of online users.

I using this code to connect to facebook chat. When I try to retrieve list of online users instead of user name I get negative number for example: [email protected] How can I get the original (Letters) user name? ...

How easy is it to get a custom XMPP server-app running?

With reference to this question, XMPP was mentioned as the open standard for IM interoperability. For my app the big choice there would be if I use XMPP for internal client-server communication, or develop my own internal protocol but use XMPP on the server to allow communication with other servers, at a later date. My gut feeling is th...

Any reason why I shouldn't use couchdb for message passing or realtime activity streams?

While using ampq or xmpp (rabbitmq or ejabbered that could have couchdb as backends) seems like a good fit to deliver real time updates about friend state in a social gaming platform where updates are small but frequent, I can't help but think why wouldn't couchdb be a good platform to deliver such updates? The main advantage I could th...

Is it right that Strophe.addHandler reads only first node from response?

I'm starting to learn strophe library usage and when i use addHandler to parse response it seems to read only first node of xml response so when i receive a xml like that : <body xmlns='http://jabber.org/protocol/httpbind'&gt; <presence xmlns='jabber:client' from='test2@localhost' to='test2@localhost' type='avaliable' id='5593:sendIQ'...

Ejabberd clustering problem with amazon EC2 server

Hello Guys! I have been trying to install ejabberd server on Amazons EC2 instance. I am kinds a stuck at this step right now. I am following this guide: http://tdewolf.blogspot.com/2009/07/clustering-ejabberd-nodes-using-mnes... From the guide I have sucessfully completed the Set up First Node (on ejabberd1) part. But am stuck in part 4 ...

What is roster in XMPP?

I'm learning XMPP now but I repeatedly seeing that word roster but I have no idea. Hope someone can lighten me up! ...

Which one should I choose AMQP or XMPP for real-time browser-based game?

Hi, I'm choosing between AMQP (RabbitMQ) vs XMPP (eJabberd) for my browser-based flash-free javascript powered real-time turn-based game. I don't know much about AMQP and XMPP protocol. I would like to use PHP for user-authorization and some data store-retrieve with MySQL. As far as I found out, RabbitMQ has PHP clients but eJabberd not....