Skip to content

Commit

Permalink
Updated README and composer.json for v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Eckerstorfer committed Jul 5, 2013
1 parent 67131aa commit 4e270b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ If your consumers are in place you can start the message queue server and send m

$ php app/console bc:mq:server -p 4000

It is also possible to start the server in verbose mode by using the `--verbose` or `-v` option. If the verbose mode is activated, every bit of incoming data is echoed in the console.

The server will redirect every message that is sent to port `4000` to the consumers. Each message must be a JSON object and must contain exactly two values: `type` and `message`. Type is name name of the consumer (`write_file` in the example above) and message is a string or an array.

{
Expand Down Expand Up @@ -102,6 +104,11 @@ The message can also be an array:
Changelog
---------

### Version 0.3 (2013-07-05)

- Updated `braincrafted/mq` to version 0.3
- Incoming data is echoed in verbose mode

### Version 0.2 (2013-06-04)

- Updated `braincrafted/mq` to version 0.2 (compatible with Symfony 2.3)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "braincrafted/mq-bundle",
"require": {
"braincrafted/mq": "dev-master"
"braincrafted/mq": "0.3.*"
},
"require-dev": {
"phpunit/phpunit": "3.7.*",
Expand Down

0 comments on commit 4e270b8

Please sign in to comment.