eventq_rabbitmq 1.10.2 → 1.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4f6c2fbc62fa17c08690d590c509fbdc7d93e76
4
- data.tar.gz: 79121cfe58b10969649e9d8ce87376be4ff5b50f
3
+ metadata.gz: fc4a1cad923c9ffc801fcd8cb34d7e9a72e09f0d
4
+ data.tar.gz: e7db3536d2d51945b4f5471a055e73488799f157
5
5
  SHA512:
6
- metadata.gz: a89a7cc86af0204349edff71a03688ee4e5664789835fae29ce06a35a11647bdc9e89e24e3c003f35386b909247263a5f922e2889627dd27d9e3a37b6fea63b8
7
- data.tar.gz: 48ae603292c55a1e3f01d6bc3eb0461867a2712bcdc7691be56283f7aa42ce09393d964cff3bc72f0780055dc21f3eb2378aa55a338115a17b58be1520bf0aa3
6
+ metadata.gz: 07f7b08a417978012a62b9ce6a63d86bd086d267fa398d2e12c07c3eef9c079e9afb6783509894ac0d8c74122d520a24d8f7aaadd29782e2ee526e9a7d27492f
7
+ data.tar.gz: bd154bd83cc3cd648b43ba447a4ad909c563bc041bab53df9226c63474fd667caecd2d984ef2eaeb2b9eddb64d292e88cb090000ebfff45fcd76143b25e32618
@@ -14,8 +14,10 @@ module EventQ
14
14
 
15
15
  def get_queue(channel, queue)
16
16
 
17
+ _queue_name = EventQ.create_queue_name(queue.name)
18
+
17
19
  #get/create the queue
18
- q = channel.queue(queue.name, :durable => @durable)
20
+ q = channel.queue(_queue_name, :durable => @durable)
19
21
 
20
22
  if queue.allow_retry
21
23
  retry_exchange = get_retry_exchange(channel, queue)
@@ -223,7 +223,7 @@ module EventQ
223
223
  end
224
224
 
225
225
  EventQ.log(:debug, "[#{self.class}] - Sending message for retry. Message TTL: #{message_ttl}")
226
- retry_exchange.publish(Oj.dump(message), :expiration => message_ttl)
226
+ retry_exchange.publish(serialize_message(message), :expiration => message_ttl)
227
227
  EventQ.log(:debug, "[#{self.class}] - Published message to retry exchange.")
228
228
 
229
229
  else
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.10.2"
2
+ VERSION = "1.10.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.2
4
+ version: 1.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-19 00:00:00.000000000 Z
11
+ date: 2016-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler