kgriffs c1a564b444 fix: Claim can return 404
This patch changes the way creating a claim behaves when the
queue does not exist. Instead of returning 404, it returns
204, meaning the claim was not able to find any messages to
claim.

This was done for two reasons:

1. For eventually-consistent backends, a brand new queue may
not appear to exist, so this new semantic allows the driver
to just try to grab some messages without checking first
whether the queue "exists".
2. For backends like MongoDB that require an extra check to
determine whether a queue exists, this removes an extra
round trip to the DB in order to perform the operation.

Note that the SQLite driver was updated in order to be
consistent with the new behavior.

Change-Id: Icde4ce493a76ef145e99300b67d8344d5092e38d
Partial-Bug: #1218990
2013-09-04 09:24:22 -05:00
2013-09-04 09:24:22 -05:00
2013-08-14 16:10:08 -05:00
2012-11-01 09:52:20 +01:00
2012-11-01 09:52:20 +01:00
2013-06-14 14:14:42 +02:00
2013-08-18 13:07:16 -07:00

Marconi

Message queuing service for OpenStack

Running a local Marconi server with MongoDB

  1. Install MongoDB

  2. Start a MongoDB instance:

    mongod
  3. Clone the Marconi repo:

    git clone https://github.com/stackforge/marconi.git
  4. cd to your local copy of the repo

  5. Copy the Marconi config files to the directory ~/.marconi:

    cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
  6. Find the [drivers:storage:mongodb] section in ~/.marconi/marconi.conf and modify the URI to point to your local mongod instance:

    uri = mongodb://localhost
  7. Run the following so you can see the results of any changes you make to the code, without having to reinstall the package each time:

    python setup.py develop
  8. Start the marconi server:

    marconi-server
Description
OpenStack Messaging (Zaqar)
Readme 46 MiB
Languages
Python 96.1%
PHP 1.5%
Shell 1.2%
HTML 0.8%
Lua 0.3%