dkastner-hutch 0.19.0.pre1 → 0.19.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hutch/broker.rb +3 -1
- data/lib/hutch/config.rb +1 -0
- data/lib/hutch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74ae8c1f6d6041944504191e3a6d519b41d6f631
|
4
|
+
data.tar.gz: 3b67754fa695df76425a459905864540c1f6eb8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16fb65b6590ce9d6159d0f0b529e1d8a428335a9be432212b98c2c2313730ed5ad608ff3b0dd7fbb63f90be5627e0c7a5d87e121db7e9ab87dd5bb4f32bdc565
|
7
|
+
data.tar.gz: ce108b0c3836c08d5f8d834c3ba320e436f3ec404d8f5fe3e26f09ca9cc56a7d1cf4b119332fcee3234c2cc43379c0e0b12044f66ab4412d291a44f97711479d
|
data/lib/hutch/broker.rb
CHANGED
@@ -52,10 +52,12 @@ module Hutch
|
|
52
52
|
open_channel!
|
53
53
|
|
54
54
|
exchange_name = @config[:mq_exchange]
|
55
|
+
default_options = { durable: true }
|
56
|
+
exchange_options = default_options.merge @config[:mq_exchange_options]
|
55
57
|
logger.info "using topic exchange '#{exchange_name}'"
|
56
58
|
|
57
59
|
with_bunny_precondition_handler('exchange') do
|
58
|
-
@exchange = @channel.topic(exchange_name,
|
60
|
+
@exchange = @channel.topic(exchange_name, exchange_options)
|
59
61
|
end
|
60
62
|
end
|
61
63
|
|
data/lib/hutch/config.rb
CHANGED
data/lib/hutch/version.rb
CHANGED