eventq_rabbitmq 1.6.19 → 1.6.20
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 +7 -5
- data/lib/eventq_rabbitmq/version.rb +1 -1
- metadata +20 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffa92e29bdbb46174ff094aed246daf2e2583bf2
|
4
|
+
data.tar.gz: 3288a193efc8ac49bcf3fdf88778b7de48d88e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3100086d3bf2a228b7783ca62e652534f6d2c3533a235c40cc6847dd9499c9d39c693e1ef94fa809af59102af46cb4bf57133076525b965b01e80967dd9beb87
|
7
|
+
data.tar.gz: a09da0f86ddd2f134c118ee33ee41aad1227cfb8c5511ff4090a97c2640cecb016aebc91369deb7dd7aaee9a6e263f32c45febe3ba52d44bcf2df6788cab564b
|
@@ -106,11 +106,11 @@ module EventQ
|
|
106
106
|
|
107
107
|
if message_args.abort == true
|
108
108
|
abort = true
|
109
|
-
EventQ.log(:
|
109
|
+
EventQ.log(:info, "[#{self.class}] - Message aborted.")
|
110
110
|
else
|
111
111
|
#accept the message as processed
|
112
112
|
channel.acknowledge(delivery_info.delivery_tag, false)
|
113
|
-
EventQ.log(:
|
113
|
+
EventQ.log(:info, "[#{self.class}] - Message acknowledged.")
|
114
114
|
received = true
|
115
115
|
end
|
116
116
|
|
@@ -128,11 +128,13 @@ module EventQ
|
|
128
128
|
end
|
129
129
|
|
130
130
|
rescue Timeout::Error
|
131
|
-
EventQ.log(:
|
131
|
+
EventQ.log(:error, "[#{self.class}] - Timeout occurred attempting to pop a message from the queue.")
|
132
132
|
end
|
133
133
|
|
134
134
|
channel.close
|
135
135
|
|
136
|
+
GC.start
|
137
|
+
|
136
138
|
#check if any message was received
|
137
139
|
if !received && !error
|
138
140
|
EventQ.log(:debug, "[#{self.class}] - No message received. Sleeping for #{@sleep} seconds")
|
@@ -185,7 +187,7 @@ module EventQ
|
|
185
187
|
#reject the message to remove from queue
|
186
188
|
channel.reject(delivery_info.delivery_tag, false)
|
187
189
|
|
188
|
-
EventQ.log(:
|
190
|
+
EventQ.log(:info, "[#{self.class}] - Message rejected.")
|
189
191
|
|
190
192
|
#check if the message is allowed to be retried
|
191
193
|
if queue.allow_retry
|
@@ -214,7 +216,7 @@ module EventQ
|
|
214
216
|
|
215
217
|
else
|
216
218
|
|
217
|
-
EventQ.log(:
|
219
|
+
EventQ.log(:info, "[#{self.class}] - Message retry attempts exceeded.")
|
218
220
|
|
219
221
|
if @retry_exceeded_block != nil
|
220
222
|
EventQ.log(:debug, "[#{self.class}] - Executing retry exceeded block.")
|
metadata
CHANGED
@@ -1,111 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventq_rabbitmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.11'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bunny
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: eventq_base
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: hash_kit
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
description: This is the rabbitmq implementation for EventQ
|
@@ -117,6 +117,7 @@ extra_rdoc_files: []
|
|
117
117
|
files:
|
118
118
|
- bin/console
|
119
119
|
- bin/setup
|
120
|
+
- lib/eventq_rabbitmq.rb
|
120
121
|
- lib/eventq_rabbitmq/default_queue.rb
|
121
122
|
- lib/eventq_rabbitmq/rabbitmq_eventq_client.rb
|
122
123
|
- lib/eventq_rabbitmq/rabbitmq_queue_client.rb
|
@@ -124,7 +125,6 @@ files:
|
|
124
125
|
- lib/eventq_rabbitmq/rabbitmq_queue_worker.rb
|
125
126
|
- lib/eventq_rabbitmq/rabbitmq_subscription_manager.rb
|
126
127
|
- lib/eventq_rabbitmq/version.rb
|
127
|
-
- lib/eventq_rabbitmq.rb
|
128
128
|
homepage: https://github.com/vaughanbrittonsage/eventq
|
129
129
|
licenses:
|
130
130
|
- MIT
|
@@ -135,19 +135,18 @@ require_paths:
|
|
135
135
|
- lib
|
136
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- -
|
138
|
+
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.5.1
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: This is the rabbitmq implementation for EventQ
|
152
152
|
test_files: []
|
153
|
-
has_rdoc:
|