eventq_rabbitmq 1.10.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventq_rabbitmq/rabbitmq_queue_worker.rb +6 -1
- data/lib/eventq_rabbitmq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4f6c2fbc62fa17c08690d590c509fbdc7d93e76
|
4
|
+
data.tar.gz: 79121cfe58b10969649e9d8ce87376be4ff5b50f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a89a7cc86af0204349edff71a03688ee4e5664789835fae29ce06a35a11647bdc9e89e24e3c003f35386b909247263a5f922e2889627dd27d9e3a37b6fea63b8
|
7
|
+
data.tar.gz: 48ae603292c55a1e3f01d6bc3eb0461867a2712bcdc7691be56283f7aa42ce09393d964cff3bc72f0780055dc21f3eb2378aa55a338115a17b58be1520bf0aa3
|
@@ -190,6 +190,11 @@ module EventQ
|
|
190
190
|
return provider.deserialize(payload)
|
191
191
|
end
|
192
192
|
|
193
|
+
def serialize_message(msg)
|
194
|
+
provider = @serialization_provider_manager.get_provider(EventQ::Configuration.serialization_provider)
|
195
|
+
return provider.serialize(msg)
|
196
|
+
end
|
197
|
+
|
193
198
|
def reject_message(channel, message, delivery_info, retry_exchange, queue)
|
194
199
|
#reject the message to remove from queue
|
195
200
|
channel.reject(delivery_info.delivery_tag, false)
|
@@ -223,7 +228,7 @@ module EventQ
|
|
223
228
|
|
224
229
|
else
|
225
230
|
|
226
|
-
EventQ.log(:info, "[#{self.class}] - Message retry attempts exceeded.")
|
231
|
+
EventQ.log(:info, "[#{self.class}] - Message retry attempts exceeded. Message: #{serialize_message(message)}")
|
227
232
|
|
228
233
|
if @retry_exceeded_block != nil
|
229
234
|
EventQ.log(:debug, "[#{self.class}] - Executing retry exceeded block.")
|
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.
|
4
|
+
version: 1.10.2
|
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-
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|