1 Reply Latest reply on Jul 8, 2009 11:02 AM by James Strachan

    RestMQ and Webhooks

    Evan Leonard Newbie

      Didn't see a forum specifically for RestMQ so posting this here:

       

      Has the RestMQ team considered adding web hooks to be able to receive messages from RestMQ via HTTP?

       

      Here's more about web hooks: http://blog.webhooks.org/

       

      Here's a ruby implementation of the basic pattern: http://watercoolr.nuklei.com/

       

      Here is a proposed protocol for pub sub via HTTP (PubSubHubBub): http://code.google.com/p/pubsubhubbub/

       

      There's a fair bit of talk in the twittersphere about using RabbitMQ to implement PubSubHubBub. How does the RestMQ project relate to all this?

       

      Best,

      Evan

        • 1. Re: RestMQ and Webhooks
          James Strachan Newbie
          evan.leonard wrote:

          Didn't see a forum specifically for RestMQ so posting this here:

           

          Has the RestMQ team considered adding web hooks to be able to receive messages from RestMQ via HTTP?

           

          Yeah! That was our intention for sure. It was one of our first JIRAs

           

          http://fusesource.com/issues/browse/RESTMQ-2

           

          Plus to make it easy for folks to restfully get/post/put/delete subscriptions of webhooks.

           

           

           

           

          Here's more about web hooks: http://blog.webhooks.org/

           

          Here's a ruby implementation of the basic pattern: http://watercoolr.nuklei.com/

           

          Here is a proposed protocol for pub sub via HTTP (PubSubHubBub): http://code.google.com/p/pubsubhubbub/

           

          There's a fair bit of talk in the twittersphere about using RabbitMQ to implement PubSubHubBub. How does the RestMQ project relate to all this?

           

          RestMQ is an attempt to define a pure RESTful interface to both queue based and pub/sub based messaging using a simple restful protocol. We're aiming to make the protocol support HATEOS (hypermedia constraint) and allow multiple content types to be used. e.g. a simple JSON approach or XML or binary or form encoding or atom etc. e.g. you can just POST using various content types to a queue/topic URI to post a message.

           

          So we hope that RestMQ can invoke webhooks endpoints (i.e. so they act as consumers), or webhooks can invoke RestMQ (acting as a producer).

           

          PubSubHubBub seems to take a similar approach, using Atom as the main representation with mostly form encoding for the POSTs.

           

          So we will hopefully be able to fully implement PubSubHubBub too. I've raised a JIRA to track the PubSubHubBub implementation....

          http://fusesource.com/issues/browse/RESTMQ-6

           

          Edited by: jstrachan on Jul 8, 2009 4:00 PM