Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 74 lines (41 sloc) 2.359 kB
53149dd @michaelklishin Back to SNAPSHOT
authored
1 ## Changes between Langohr 1.0.0-beta4 and 1.0.0-beta5
2
3 No changes yet.
4
5
caba792 @michaelklishin 1.0.0-beta3
authored
6 ## Changes between Langohr 1.0.0-beta3 and 1.0.0-beta4
7
909f99a @michaelklishin Change log update
authored
8 ### Payload is Now Longer Assumed to Be a String
9
10 `langohr.basic/publish` no longer assumes the payload is always a string. It can be anything the `langohr.conversion/BytePayload`
11 protocol is implemented for, by default byte arrays and strings.
12
2d0767d @michaelklishin Change langohr.queue/declare defaults: :exclusive is now false by def…
authored
13 ### queue.declare :exclusive Default Value Change
14
15 `langohr.queue/declare` now uses default value for the `:exclusive` parameter as `false`. The reason for
16 this is that exclusive queues are deleted when connection that created them is closed. This caused
17 confusion w.r.t. non-auto-deleted queues being deleted in such cases.
caba792 @michaelklishin 1.0.0-beta3
authored
18
19
20
51cb34b @michaelklishin Begin beta3 iteration
authored
21 ## Changes between Langohr 1.0.0-beta2 and 1.0.0-beta3
22
caba792 @michaelklishin 1.0.0-beta3
authored
23 ### URI parsing
24
25 `langohr.core/settings-from` is a new public API function that parses AMQP and AMQPS connection URIs
26 and returns an immutable map of individual arguments. URI parsing is now delegated to the Java client
27 for consistency.
28
29
836a3c6 @michaelklishin Bump RabbitMQ Java client to 2.8.6
authored
30 ### RabbitMQ Java Client 2.8.6
803e2ca @michaelklishin RabbitMQ Java client 2.8.2
authored
31
836a3c6 @michaelklishin Bump RabbitMQ Java client to 2.8.6
authored
32 RabbitMQ Java Client has been upgraded to version 2.8.6.
51cb34b @michaelklishin Begin beta3 iteration
authored
33
34
c367bc1 @michaelklishin Migrate to Leiningen 2
authored
35 ## Changes between Langohr 1.0.0-beta1 and 1.0.0-beta2
36
ebd0f4c @michaelklishin Change message consumer fn signature per discussion in #3
authored
37 ### Breaking change: message handler signature has changed
38
39 Previously message handlers registered via `langohr.consumers/subscribe` had the following
40 signature:
41
42 ``` clojure
43 (fn [^QueueingConsumer$Delivery delivery ^AMQP$BasicProperties properties payload] ...)
44 ```
45
46 starting with beta2, it has changed to be more Clojure friendly
47
48 ``` clojure
49 (fn [^Channel ch metadata payload] ...)
50 ```
51
52 All message metadata (both envelope and message properties) are now passed in as a single Clojure
53 map that you can use destructuring on:
54
55 ``` clojure
56 (fn [^Channel ch {:keys [type content-type message-id correlation-id] :as metadata} payload] ...)
57 ```
58
59 In addition, in explicit acknowledgement mode, ack-ing and nack-ing messages got easier because
60 consumer channel is now passed in.
61
62 It is important to remember that sharing channels between threads that publish messages is **dangerous**
63 and should be avoided. Ack-ing, nack-ing and consuming messages with shared channels is usually acceptable.
64
65
66
741fd22 @michaelklishin Upgrade to RabbitMQ Java client 2.8.x
authored
67 ### RabbitMQ Java Client 2.8.x
68
69 RabbitMQ Java Client which Langohr is based on has been upgraded to version 2.8.1.
70
c367bc1 @michaelklishin Migrate to Leiningen 2
authored
71 ### Leiningen 2
72
73 Langohr now uses [Leiningen 2](https://github.com/technomancy/leiningen/wiki/Upgrading).
Something went wrong with that request. Please try again.