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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ebbede0b0f13b3f9b66d1679b14db3082d57832
4
- data.tar.gz: 8e78158001088fd00c53687ea98d47dec1233fbd
3
+ metadata.gz: a4f6c2fbc62fa17c08690d590c509fbdc7d93e76
4
+ data.tar.gz: 79121cfe58b10969649e9d8ce87376be4ff5b50f
5
5
  SHA512:
6
- metadata.gz: 50d7a88d24a0ecaebfaa423357f6eaa64147d6bec721549fd91d2ce6b2a21cc3db8c274baba1828cf17c54d41dfa864950433b0bfafe43d23e2f88411621476b
7
- data.tar.gz: 06f815c90cbb9a2912496bf0775dfcccdf808afe8d0f352680f85b71b0a7808fe57ee35a905c8a1079b95a721c2e6d849811828d7e0373815457654067879951
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.")
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.10.1"
2
+ VERSION = "1.10.2"
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.1
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-17 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler