Skip to content

Commit

Permalink
Fix docs again
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Apr 22, 2010
1 parent 28894ce commit 878b081
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ An example of connecting to a server and listening on a queue.
// Create a queue and bind to all messages.
// Use the default 'amq.topic' exchange
var q = connection.queue('my-queue');
q.bind(exchange, '#');
// Catch all messages
q.bind('#');

// Receive messages
q.subscribe(function (message) {
Expand Down

0 comments on commit 878b081

Please sign in to comment.