Skip to content

Commit

Permalink
Merge branch 'master' of github.com:clojurewerkz/langohr.docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Jan 12, 2016
2 parents 35e9f68 + 47dc68f commit f861dfb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,6 +23,6 @@ then navigate to [localhost:4000](http://localhost:4000)

## License & Copyright

Copyright (C) 2011-2015 Alexander Petrov, Michael S. Klishin, and the ClojureWerkz team.
Copyright (C) 2011-2016 Alexander Petrov, Michael S. Klishin, and the ClojureWerkz team.

Distributed under the Eclipse Public License, the same as Clojure.
2 changes: 1 addition & 1 deletion articles/bindings.md
Expand Up @@ -52,7 +52,7 @@ If an application wants to connect a queue to an exchange, it needs to
## Binding Queues To Exchanges

In order to receive messages, a queue needs to be bound to at least
one exchange. Most of the time binding is explcit (done by
one exchange. Most of the time binding is explicit (done by
applications). To bind a queue to an exchange, use the
`langohr.queue/bind` function:

Expand Down
4 changes: 2 additions & 2 deletions articles/getting_started.md
Expand Up @@ -349,7 +349,7 @@ basketball. Here is the code:
(doseq [u users]
(start-consumer ch ex u))
(lb/publish ch ex "" "BOS 101, NYK 89" {:content-type "text/plain" :type "scores.update"})
(lb/publish ch ex "" "ORL 85, ALT 88" {:content-type "text/plain" :type "scores.update"})
(lb/publish ch ex "" "ORL 85, ATL 88" {:content-type "text/plain" :type "scores.update"})
(Thread/sleep 2000)
(rmq/close ch)
(rmq/close conn)))
Expand Down Expand Up @@ -392,7 +392,7 @@ publishing: it is an empty string.

``` clojure
(lb/publish ch ex "" "BOS 101, NYK 89" {:content-type "text/plain" :type "scores.update"})
(lb/publish ch ex "" "ORL 85, ALT 88" {:content-type "text/plain" :type "scores.update"})
(lb/publish ch ex "" "ORL 85, ATL 88" {:content-type "text/plain" :type "scores.update"})
```

Fanout exchanges simply put a copy of the message in each queue bound
Expand Down
2 changes: 1 addition & 1 deletion articles/queues.md
Expand Up @@ -116,7 +116,7 @@ empty string) and returns the name of the queue:

(let [conn (rmq/connect)
ch (lch/open conn)
queue (lq/declare-server-named ch :exclusive true)]
queue (lq/declare-server-named ch {:exclusive true})]
(comment ...))
```

Expand Down

0 comments on commit f861dfb

Please sign in to comment.