amq-client 0.7.0.alpha18 → 0.7.0.alpha19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/amq/client/adapters/event_machine.rb +1 -1
- data/lib/amq/client/queue.rb +1 -1
- data/lib/amq/client/version.rb +1 -1
- metadata +215 -212
@@ -237,7 +237,7 @@ module AMQ
|
|
237
237
|
# * Initial TCP connection fails
|
238
238
|
# @private
|
239
239
|
def unbind(exception = nil)
|
240
|
-
if !@tcp_connection_established && !@had_successfull_connected_before
|
240
|
+
if !@tcp_connection_established && !@had_successfull_connected_before && !@intentionally_closing_connection
|
241
241
|
@tcp_connection_failed = true
|
242
242
|
self.tcp_connection_failed
|
243
243
|
end
|
data/lib/amq/client/queue.rb
CHANGED
@@ -225,7 +225,7 @@ module AMQ
|
|
225
225
|
#
|
226
226
|
# 100.times { queue.get { ... } }
|
227
227
|
#
|
228
|
-
# most likely you won't expect 100 callback runs per
|
228
|
+
# most likely you won't expect 100 callback runs per message here. MK.
|
229
229
|
self.redefine_callback(:get, &block)
|
230
230
|
@channel.queues_awaiting_get_response.push(self)
|
231
231
|
|
data/lib/amq/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,234 +1,237 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: amq-client
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.alpha18
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease: 6
|
5
|
+
version: 0.7.0.alpha19
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Jakub Stastny
|
9
|
-
- Michael S. Klishin
|
10
|
-
- Theo Hultberg
|
11
|
-
- Mark Abramov
|
7
|
+
authors:
|
8
|
+
- Jakub Stastny
|
9
|
+
- Michael S. Klishin
|
10
|
+
- Theo Hultberg
|
11
|
+
- Mark Abramov
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain:
|
15
|
-
date: 2011-05-06 00:00:00
|
15
|
+
date: 2011-05-06 00:00:00 +04:00
|
16
16
|
default_executable:
|
17
|
-
dependencies:
|
18
|
-
- !ruby/object:Gem::Dependency
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
description: amq-client supports multiple networking adapters (EventMachine, TCP sockets,
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
email:
|
45
|
-
- stastny@101ideas.cz
|
46
|
-
- michael@novemberain.com
|
17
|
+
dependencies:
|
18
|
+
- !ruby/object:Gem::Dependency
|
19
|
+
name: eventmachine
|
20
|
+
prerelease: false
|
21
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: "0"
|
27
|
+
type: :runtime
|
28
|
+
version_requirements: *id001
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: amq-protocol
|
31
|
+
prerelease: false
|
32
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: "0"
|
38
|
+
type: :runtime
|
39
|
+
version_requirements: *id002
|
40
|
+
description: amq-client supports multiple networking adapters (EventMachine, TCP sockets, cool.io) and supposed to back more opinionated AMQP clients (such as amqp gem, bunny, et cetera) or be used directly in cases when access to more advanced AMQP 0.9.1 features is more important that convenient APIs
|
41
|
+
email:
|
42
|
+
- stastny@101ideas.cz
|
43
|
+
- michael@novemberain.com
|
47
44
|
executables: []
|
45
|
+
|
48
46
|
extensions: []
|
49
|
-
|
50
|
-
|
51
|
-
-
|
52
|
-
- doc/
|
53
|
-
- doc/
|
54
|
-
- doc/
|
55
|
-
- doc/
|
56
|
-
- doc/
|
57
|
-
- doc/
|
58
|
-
- doc/
|
59
|
-
- doc/
|
60
|
-
|
61
|
-
|
62
|
-
- .
|
63
|
-
- .
|
64
|
-
- .
|
65
|
-
- .
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
- bin/
|
73
|
-
-
|
74
|
-
- examples/coolio_adapter/
|
75
|
-
- examples/coolio_adapter/
|
76
|
-
- examples/coolio_adapter/
|
77
|
-
- examples/coolio_adapter/
|
78
|
-
- examples/coolio_adapter/
|
79
|
-
- examples/coolio_adapter/
|
80
|
-
- examples/coolio_adapter/
|
81
|
-
- examples/coolio_adapter/
|
82
|
-
- examples/coolio_adapter/
|
83
|
-
- examples/coolio_adapter/
|
84
|
-
- examples/
|
85
|
-
- examples/eventmachine_adapter/authentication/
|
86
|
-
- examples/eventmachine_adapter/authentication/
|
87
|
-
- examples/eventmachine_adapter/authentication/
|
88
|
-
- examples/eventmachine_adapter/
|
89
|
-
- examples/eventmachine_adapter/
|
90
|
-
- examples/eventmachine_adapter/
|
91
|
-
- examples/eventmachine_adapter/
|
92
|
-
- examples/eventmachine_adapter/
|
93
|
-
- examples/eventmachine_adapter/
|
94
|
-
- examples/eventmachine_adapter/
|
95
|
-
- examples/eventmachine_adapter/
|
96
|
-
- examples/eventmachine_adapter/
|
97
|
-
- examples/eventmachine_adapter/
|
98
|
-
- examples/eventmachine_adapter/
|
99
|
-
- examples/eventmachine_adapter/
|
100
|
-
- examples/eventmachine_adapter/
|
101
|
-
- examples/eventmachine_adapter/
|
102
|
-
- examples/eventmachine_adapter/
|
103
|
-
- examples/eventmachine_adapter/
|
104
|
-
- examples/eventmachine_adapter/
|
105
|
-
- examples/eventmachine_adapter/
|
106
|
-
- examples/eventmachine_adapter/
|
107
|
-
- examples/eventmachine_adapter/extensions/rabbitmq/
|
108
|
-
- examples/eventmachine_adapter/extensions/rabbitmq/
|
109
|
-
- examples/eventmachine_adapter/
|
110
|
-
- examples/eventmachine_adapter/
|
111
|
-
- examples/eventmachine_adapter/
|
112
|
-
- examples/eventmachine_adapter/
|
113
|
-
- examples/eventmachine_adapter/
|
114
|
-
- examples/eventmachine_adapter/
|
115
|
-
- examples/eventmachine_adapter/
|
116
|
-
- examples/eventmachine_adapter/
|
117
|
-
- examples/eventmachine_adapter/
|
118
|
-
- examples/
|
119
|
-
- examples/socket_adapter/
|
120
|
-
- examples/socket_adapter/
|
121
|
-
- examples/
|
122
|
-
- examples/tls_certificates/client/
|
123
|
-
- examples/tls_certificates/client/
|
124
|
-
- examples/tls_certificates/client/
|
125
|
-
- examples/tls_certificates/
|
126
|
-
- examples/tls_certificates/server/
|
127
|
-
- examples/tls_certificates/server/
|
128
|
-
- examples/tls_certificates/server/
|
129
|
-
- examples/tls_certificates/
|
130
|
-
- examples/tls_certificates/testca/cacert.
|
131
|
-
- examples/tls_certificates/testca/
|
132
|
-
- examples/tls_certificates/testca/certs/
|
133
|
-
- examples/tls_certificates/testca/
|
134
|
-
- examples/tls_certificates/testca/index.txt
|
135
|
-
- examples/tls_certificates/testca/index.txt.attr
|
136
|
-
- examples/tls_certificates/testca/index.txt.old
|
137
|
-
- examples/tls_certificates/testca/
|
138
|
-
- examples/tls_certificates/testca/
|
139
|
-
- examples/tls_certificates/testca/
|
140
|
-
- examples/tls_certificates/testca/serial
|
141
|
-
-
|
142
|
-
-
|
143
|
-
- lib/amq/client
|
144
|
-
- lib/amq/client/
|
145
|
-
- lib/amq/client/adapters/
|
146
|
-
- lib/amq/client/adapters/
|
147
|
-
- lib/amq/client/
|
148
|
-
- lib/amq/client/
|
149
|
-
- lib/amq/client/
|
150
|
-
- lib/amq/client/
|
151
|
-
- lib/amq/client/
|
152
|
-
- lib/amq/client/
|
153
|
-
- lib/amq/client/extensions/rabbitmq
|
154
|
-
- lib/amq/client/extensions/rabbitmq/
|
155
|
-
- lib/amq/client/
|
156
|
-
- lib/amq/client/framing/
|
157
|
-
- lib/amq/client/
|
158
|
-
- lib/amq/client/
|
159
|
-
- lib/amq/client/mixins/
|
160
|
-
- lib/amq/client/
|
161
|
-
- lib/amq/client/
|
162
|
-
- lib/amq/client/
|
163
|
-
- lib/amq/client/
|
164
|
-
-
|
165
|
-
- spec/
|
166
|
-
- spec/client/framing/
|
167
|
-
- spec/client/
|
168
|
-
- spec/
|
169
|
-
- spec/integration/coolio/
|
170
|
-
- spec/integration/coolio/
|
171
|
-
- spec/integration/coolio/
|
172
|
-
- spec/integration/coolio/
|
173
|
-
- spec/integration/coolio/
|
174
|
-
- spec/integration/coolio/
|
175
|
-
- spec/integration/coolio/
|
176
|
-
- spec/integration/coolio/
|
177
|
-
- spec/integration/coolio/
|
178
|
-
- spec/integration/coolio/
|
179
|
-
- spec/integration/
|
180
|
-
- spec/integration/eventmachine/
|
181
|
-
- spec/integration/eventmachine/
|
182
|
-
- spec/integration/eventmachine/
|
183
|
-
- spec/integration/eventmachine/
|
184
|
-
- spec/integration/eventmachine/
|
185
|
-
- spec/integration/eventmachine/
|
186
|
-
- spec/integration/eventmachine/
|
187
|
-
- spec/integration/eventmachine/
|
188
|
-
- spec/integration/eventmachine/
|
189
|
-
- spec/integration/eventmachine/
|
190
|
-
- spec/integration/eventmachine/
|
191
|
-
- spec/
|
192
|
-
- spec/
|
193
|
-
- spec/
|
194
|
-
- spec/unit/client/
|
195
|
-
- spec/unit/client/
|
196
|
-
- spec/unit/client/
|
197
|
-
- spec/unit/client/
|
198
|
-
- spec/unit/
|
199
|
-
-
|
200
|
-
-
|
201
|
-
- doc/
|
202
|
-
- doc/
|
203
|
-
- doc/
|
204
|
-
- doc/
|
205
|
-
- doc/
|
206
|
-
- doc/
|
207
|
-
- doc/
|
208
|
-
- doc/
|
47
|
+
|
48
|
+
extra_rdoc_files:
|
49
|
+
- README.textile
|
50
|
+
- doc/_index.html
|
51
|
+
- doc/AMQ.html
|
52
|
+
- doc/class_list.html
|
53
|
+
- doc/file.README.html
|
54
|
+
- doc/file_list.html
|
55
|
+
- doc/frames.html
|
56
|
+
- doc/index.html
|
57
|
+
- doc/method_list.html
|
58
|
+
- doc/top-level-namespace.html
|
59
|
+
files:
|
60
|
+
- .gitignore
|
61
|
+
- .gitmodules
|
62
|
+
- .rspec
|
63
|
+
- .travis.yml
|
64
|
+
- .yardopts
|
65
|
+
- CONTRIBUTORS
|
66
|
+
- Gemfile
|
67
|
+
- LICENSE
|
68
|
+
- README.textile
|
69
|
+
- amq-client.gemspec
|
70
|
+
- bin/jenkins.sh
|
71
|
+
- bin/set_test_suite_realms_up.sh
|
72
|
+
- examples/coolio_adapter/basic_consume.rb
|
73
|
+
- examples/coolio_adapter/basic_consume_with_acknowledgements.rb
|
74
|
+
- examples/coolio_adapter/basic_consume_with_rejections.rb
|
75
|
+
- examples/coolio_adapter/basic_publish.rb
|
76
|
+
- examples/coolio_adapter/channel_close.rb
|
77
|
+
- examples/coolio_adapter/example_helper.rb
|
78
|
+
- examples/coolio_adapter/exchange_declare.rb
|
79
|
+
- examples/coolio_adapter/kitchen_sink1.rb
|
80
|
+
- examples/coolio_adapter/queue_bind.rb
|
81
|
+
- examples/coolio_adapter/queue_purge.rb
|
82
|
+
- examples/coolio_adapter/queue_unbind.rb
|
83
|
+
- examples/eventmachine_adapter/authentication/plain_password_with_custom_role_credentials.rb
|
84
|
+
- examples/eventmachine_adapter/authentication/plain_password_with_default_role_credentials.rb
|
85
|
+
- examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials_handled_with_a_callback.rb
|
86
|
+
- examples/eventmachine_adapter/authentication/plain_password_with_incorrect_credentials_handled_with_a_rescue_block.rb
|
87
|
+
- examples/eventmachine_adapter/basic_cancel.rb
|
88
|
+
- examples/eventmachine_adapter/basic_consume.rb
|
89
|
+
- examples/eventmachine_adapter/basic_consume_with_acknowledgements.rb
|
90
|
+
- examples/eventmachine_adapter/basic_consume_with_rejections.rb
|
91
|
+
- examples/eventmachine_adapter/basic_get.rb
|
92
|
+
- examples/eventmachine_adapter/basic_get_with_empty_queue.rb
|
93
|
+
- examples/eventmachine_adapter/basic_publish.rb
|
94
|
+
- examples/eventmachine_adapter/basic_qos.rb
|
95
|
+
- examples/eventmachine_adapter/basic_recover.rb
|
96
|
+
- examples/eventmachine_adapter/basic_return.rb
|
97
|
+
- examples/eventmachine_adapter/channel_close.rb
|
98
|
+
- examples/eventmachine_adapter/channel_flow.rb
|
99
|
+
- examples/eventmachine_adapter/channel_level_exception_handling.rb
|
100
|
+
- examples/eventmachine_adapter/connection_failure_callback.rb
|
101
|
+
- examples/eventmachine_adapter/connection_failure_exception.rb
|
102
|
+
- examples/eventmachine_adapter/connection_loss_handler.rb
|
103
|
+
- examples/eventmachine_adapter/example_helper.rb
|
104
|
+
- examples/eventmachine_adapter/exchange_declare.rb
|
105
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/handling_confirm_select_ok.rb
|
106
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_transient_messages.rb
|
107
|
+
- examples/eventmachine_adapter/extensions/rabbitmq/publisher_confirmations_with_unroutable_message.rb
|
108
|
+
- examples/eventmachine_adapter/kitchen_sink1.rb
|
109
|
+
- examples/eventmachine_adapter/queue_bind.rb
|
110
|
+
- examples/eventmachine_adapter/queue_declare.rb
|
111
|
+
- examples/eventmachine_adapter/queue_purge.rb
|
112
|
+
- examples/eventmachine_adapter/queue_unbind.rb
|
113
|
+
- examples/eventmachine_adapter/tls/tls_without_peer_verification.rb
|
114
|
+
- examples/eventmachine_adapter/tx_commit.rb
|
115
|
+
- examples/eventmachine_adapter/tx_rollback.rb
|
116
|
+
- examples/eventmachine_adapter/tx_select.rb
|
117
|
+
- examples/socket_adapter/basics.rb
|
118
|
+
- examples/socket_adapter/connection.rb
|
119
|
+
- examples/socket_adapter/multiple_connections.rb
|
120
|
+
- examples/tls_certificates/client/cert.pem
|
121
|
+
- examples/tls_certificates/client/key.pem
|
122
|
+
- examples/tls_certificates/client/keycert.p12
|
123
|
+
- examples/tls_certificates/client/req.pem
|
124
|
+
- examples/tls_certificates/server/cert.pem
|
125
|
+
- examples/tls_certificates/server/key.pem
|
126
|
+
- examples/tls_certificates/server/keycert.p12
|
127
|
+
- examples/tls_certificates/server/req.pem
|
128
|
+
- examples/tls_certificates/testca/cacert.cer
|
129
|
+
- examples/tls_certificates/testca/cacert.pem
|
130
|
+
- examples/tls_certificates/testca/certs/01.pem
|
131
|
+
- examples/tls_certificates/testca/certs/02.pem
|
132
|
+
- examples/tls_certificates/testca/index.txt
|
133
|
+
- examples/tls_certificates/testca/index.txt.attr
|
134
|
+
- examples/tls_certificates/testca/index.txt.attr.old
|
135
|
+
- examples/tls_certificates/testca/index.txt.old
|
136
|
+
- examples/tls_certificates/testca/openssl.cnf
|
137
|
+
- examples/tls_certificates/testca/private/cakey.pem
|
138
|
+
- examples/tls_certificates/testca/serial
|
139
|
+
- examples/tls_certificates/testca/serial.old
|
140
|
+
- irb.rb
|
141
|
+
- lib/amq/client.rb
|
142
|
+
- lib/amq/client/adapter.rb
|
143
|
+
- lib/amq/client/adapters/coolio.rb
|
144
|
+
- lib/amq/client/adapters/event_machine.rb
|
145
|
+
- lib/amq/client/adapters/socket.rb
|
146
|
+
- lib/amq/client/channel.rb
|
147
|
+
- lib/amq/client/connection.rb
|
148
|
+
- lib/amq/client/entity.rb
|
149
|
+
- lib/amq/client/exceptions.rb
|
150
|
+
- lib/amq/client/exchange.rb
|
151
|
+
- lib/amq/client/extensions/rabbitmq.rb
|
152
|
+
- lib/amq/client/extensions/rabbitmq/basic.rb
|
153
|
+
- lib/amq/client/extensions/rabbitmq/confirm.rb
|
154
|
+
- lib/amq/client/framing/io/frame.rb
|
155
|
+
- lib/amq/client/framing/string/frame.rb
|
156
|
+
- lib/amq/client/logging.rb
|
157
|
+
- lib/amq/client/mixins/anonymous_entity.rb
|
158
|
+
- lib/amq/client/mixins/status.rb
|
159
|
+
- lib/amq/client/protocol/get_response.rb
|
160
|
+
- lib/amq/client/queue.rb
|
161
|
+
- lib/amq/client/settings.rb
|
162
|
+
- lib/amq/client/version.rb
|
163
|
+
- spec/benchmarks/adapters.rb
|
164
|
+
- spec/client/framing/io_frame_spec.rb
|
165
|
+
- spec/client/framing/string_frame_spec.rb
|
166
|
+
- spec/client/protocol/get_response_spec.rb
|
167
|
+
- spec/integration/coolio/basic_ack_spec.rb
|
168
|
+
- spec/integration/coolio/basic_get_spec.rb
|
169
|
+
- spec/integration/coolio/basic_return_spec.rb
|
170
|
+
- spec/integration/coolio/channel_close_spec.rb
|
171
|
+
- spec/integration/coolio/channel_flow_spec.rb
|
172
|
+
- spec/integration/coolio/connection_close_spec.rb
|
173
|
+
- spec/integration/coolio/connection_start_spec.rb
|
174
|
+
- spec/integration/coolio/exchange_declare_spec.rb
|
175
|
+
- spec/integration/coolio/spec_helper.rb
|
176
|
+
- spec/integration/coolio/tx_commit_spec.rb
|
177
|
+
- spec/integration/coolio/tx_rollback_spec.rb
|
178
|
+
- spec/integration/eventmachine/basic_ack_spec.rb
|
179
|
+
- spec/integration/eventmachine/basic_get_spec.rb
|
180
|
+
- spec/integration/eventmachine/basic_return_spec.rb
|
181
|
+
- spec/integration/eventmachine/channel_close_spec.rb
|
182
|
+
- spec/integration/eventmachine/channel_flow_spec.rb
|
183
|
+
- spec/integration/eventmachine/connection_close_spec.rb
|
184
|
+
- spec/integration/eventmachine/connection_start_spec.rb
|
185
|
+
- spec/integration/eventmachine/exchange_declare_spec.rb
|
186
|
+
- spec/integration/eventmachine/regressions/amqp_gem_issue66_spec.rb
|
187
|
+
- spec/integration/eventmachine/spec_helper.rb
|
188
|
+
- spec/integration/eventmachine/tx_commit_spec.rb
|
189
|
+
- spec/integration/eventmachine/tx_rollback_spec.rb
|
190
|
+
- spec/regression/bad_frame_slicing_in_adapters_spec.rb
|
191
|
+
- spec/spec_helper.rb
|
192
|
+
- spec/unit/client/adapter_spec.rb
|
193
|
+
- spec/unit/client/entity_spec.rb
|
194
|
+
- spec/unit/client/logging_spec.rb
|
195
|
+
- spec/unit/client/mixins/status_spec.rb
|
196
|
+
- spec/unit/client/settings_spec.rb
|
197
|
+
- spec/unit/client_spec.rb
|
198
|
+
- tasks.rb
|
199
|
+
- doc/_index.html
|
200
|
+
- doc/AMQ.html
|
201
|
+
- doc/class_list.html
|
202
|
+
- doc/file.README.html
|
203
|
+
- doc/file_list.html
|
204
|
+
- doc/frames.html
|
205
|
+
- doc/index.html
|
206
|
+
- doc/method_list.html
|
207
|
+
- doc/top-level-namespace.html
|
209
208
|
has_rdoc: true
|
210
209
|
homepage: http://github.com/ruby-amqp/amq-client
|
211
210
|
licenses: []
|
211
|
+
|
212
212
|
post_install_message:
|
213
213
|
rdoc_options: []
|
214
|
-
|
215
|
-
|
216
|
-
|
214
|
+
|
215
|
+
require_paths:
|
216
|
+
- lib
|
217
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
217
218
|
none: false
|
218
|
-
requirements:
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: "0"
|
223
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
224
|
none: false
|
224
|
-
requirements:
|
225
|
-
|
226
|
-
|
227
|
-
|
225
|
+
requirements:
|
226
|
+
- - ">"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 1.3.1
|
228
229
|
requirements: []
|
230
|
+
|
229
231
|
rubyforge_project: amq-client
|
230
|
-
rubygems_version: 1.
|
232
|
+
rubygems_version: 1.5.1
|
231
233
|
signing_key:
|
232
234
|
specification_version: 3
|
233
235
|
summary: amq-client is a fully-featured, low-level AMQP 0.9.1 client
|
234
236
|
test_files: []
|
237
|
+
|