RabbitMQ XMPP gateway released

July 1st, 2008 tonyg

I’m pleased to announce that our XMPP gateway for exposing a RabbitMQ instance to the global XMPP network has been released (documentation, browse or check out code, download snapshot).

Update: Because it depends on a newer release of RabbitMQ than 1.3.0, you will also need to check out the server and codegen code from our public mercurial repositories, or download them as snapshots: server, codegen.

Gateway in relation to ejabberd and RabbitMQ

The mod_rabbitmq module implements an ejabberd extension module which gateways AMQP (as implemented by RabbitMQ) to XMPP.

By bridging between the two systems, we benefit from:

  • XMPP’s internet-scale addressing and federation
  • XMPP’s presence model
  • AMQP’s store-and-forward capability
  • AMQP’s routing and filtering (using exchanges and bindings)

The current implementation is a very simple mapping between the two systems. Its simplicity keeps the code short, but only exposes a subset of AMQP features to the XMPP network, and vice versa.

Read more here.

Entry Filed under: Technology, Our Software, Erlang, RabbitMQ

6 Comments Add your own

  • 1. tonyg  |  July 3rd, 2008 at 5:52 pm

    ((I accidentally deleted a bunch of comments I didn’t mean to delete today, so I’m having to repost them manually:))

    Pedro Melo wrote:

    Hi,

    great work!

    Now that ejabberd supports (version 2.x and up) pluggable back.-end’s to their pubsub stuff, are there any plans to make mod_rabbitmq such a module?

    this would allow us to use XEP-0060 (PubSub over XMPP) with RabbitMQ topics.

    Thanks,

  • 2. tonyg  |  July 3rd, 2008 at 5:52 pm

    ((I accidentally deleted a bunch of comments I didn’t mean to delete today, so I’m having to repost them manually:))

    Mickaël Rémond wrote:

    Hello,

    This sounds like a good idea.
    If you want to, we would be happy to give you an access to ejabberd-modules svn for your ejabberd module gateway code.

    We try to gather as much as possible of the modules developed for ejabberd in this space.

    http://svn.process-one.net/ejabberd-modules/

    Let me know


    Mickaël Rémond
    http://www.process-one.net/

  • 3. tonyg  |  July 3rd, 2008 at 5:55 pm

    @Pedro: That’s an interesting idea. I haven’t yet had a look to see how difficult it might be, but if pubsub and AMQP can be fit together reasonably smoothly, it would definitely be a good idea to do so.

    @Mickael: Thanks very much. It’s still pretty experimental, and will probably evolve fairly rapidly. Once it settles down a little, we’d be happy to contribute it to the ejabberd community.

  • 4. Bryan  |  August 7th, 2008 at 7:54 pm

    The repository seems to be down.

  • 5. tonyg  |  August 7th, 2008 at 10:37 pm

    Thanks for the heads-up, Bryan — we’re looking into the problem.

  • 6. Paul Crowley  |  August 8th, 2008 at 10:35 am

    Oops, I broke that while working on something else. Sorry! Fixed now. Bryan - thanks for letting us know.

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed

Calendar

July 2008
M T W T F S S
« Jun   Sep »
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts