autobahn and instant messaging?

#1

Is anyone using autobahn for instant messaging? I’m thinking about a user (whose name is Romeo) starts his client, which registers a topic http://example.com/im/romeo and subscribe to this topic, and Juliet starts her client which registers a topic http://example.com/im/juliet and subscribe to this topic, when they need to talk, they just post a message in the other’s topic.

Is it possible for a wamp client to register a pubsub topic? Any better design of instant mesaging over autobahn pubsub? or even rpc?

Thanks

Simon

0 Likes

#2

Autobahn is a perfect fit for instant messaging. PubSub is one of the two basic patterns that WAMP supports.

We had a chat demo (which is very close to what you want to do) as part of the demos for the old version of Crossbar.io (which uses Autobahn).

I’m just working on getting this to run with the current rewrite. I hope to have the demo up for you to take a look at within the next few days.

Greetings,

Alex

···

Am Montag, 3. März 2014 04:47:36 UTC+1 schrieb Simon:

Is anyone using autobahn for instant messaging? I’m thinking about a user (whose name is Romeo) starts his client, which registers a topic http://example.com/im/romeo and subscribe to this topic, and Juliet starts her client which registers a topic http://example.com/im/juliet and subscribe to this topic, when they need to talk, they just post a message in the other’s topic.

Is it possible for a wamp client to register a pubsub topic? Any better design of instant mesaging over autobahn pubsub? or even rpc?

Thanks

Simon

0 Likes

#3

The chat demo is now working.

Get the demo by cloning the Crossbar.io demo repo.

Install Crossbar.io and start a Crossbar.io instance according to these instructions.

Then load the ‘index.html’ from the Crossbar.io demo repo (/web) in a browser and select the Chat demo.
(Note: the other demos are not working at the moment.)

···

Am Montag, 3. März 2014 04:47:36 UTC+1 schrieb Simon:

Is anyone using autobahn for instant messaging? I’m thinking about a user (whose name is Romeo) starts his client, which registers a topic http://example.com/im/romeo and subscribe to this topic, and Juliet starts her client which registers a topic http://example.com/im/juliet and subscribe to this topic, when they need to talk, they just post a message in the other’s topic.

Is it possible for a wamp client to register a pubsub topic? Any better design of instant mesaging over autobahn pubsub? or even rpc?

Thanks

Simon

0 Likes