stomp 1.3.5 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/{CHANGELOG.rdoc → CHANGELOG.md} +57 -40
- data/README.md +708 -0
- data/Rakefile +10 -11
- data/adhoc/.gitignore +7 -0
- data/adhoc/README.md +16 -0
- data/adhoc/issue121_01.rb +129 -0
- data/adhoc/issue121_01_conn.rb +158 -0
- data/adhoc/issue121_02.rb +152 -0
- data/adhoc/issue121_03.rb +157 -0
- data/adhoc/payload_generator.rb +32 -0
- data/adhoc/payload_generator_adhoctest.rb +41 -0
- data/adhoc/stomp_adhoc_common.rb +99 -0
- data/examples/consume_file.rb +63 -0
- data/examples/contrib.sh +6 -0
- data/examples/contributors.rb +106 -0
- data/examples/lflogger.rb +316 -0
- data/examples/publish_file.rb +76 -0
- data/examples/publish_file_conn.rb +75 -0
- data/examples/stomp11_common.rb +7 -1
- data/lib/client/utils.rb +10 -2
- data/lib/connection/heartbeats.rb +1 -0
- data/lib/connection/netio.rb +384 -309
- data/lib/connection/utils.rb +1 -1
- data/lib/stomp/client.rb +30 -23
- data/lib/stomp/connection.rb +28 -23
- data/lib/stomp/constants.rb +4 -0
- data/lib/stomp/errors.rb +9 -0
- data/lib/stomp/version.rb +2 -2
- data/stomp.gemspec +23 -64
- data/test/.gitignore +3 -0
- data/test/test_anonymous.rb +4 -4
- data/test/test_client.rb +14 -11
- data/test/test_connection.rb +4 -4
- data/test/test_connection1p.rb +4 -4
- data/test/test_helper.rb +4 -2
- data/test/test_message.rb +16 -16
- data/test/test_ssl.rb +8 -8
- data/test/test_urlogin.rb +26 -10
- metadata +26 -67
- data/README.rdoc +0 -163
@@ -1,4 +1,21 @@
|
|
1
|
-
|
1
|
+
# Stomp Gem Change Log
|
2
|
+
|
3
|
+
## 1.4.0 20160608
|
4
|
+
|
5
|
+
* Connection parameter :parse_timeout now means IO:select wait time for socket
|
6
|
+
reads. Consumer clients should see a significantly reduced memory
|
7
|
+
footprint. If the default (5 seconds) is not used by your client,
|
8
|
+
we suggest you test carefully.
|
9
|
+
* Add example programs for sending / receiving large messages.
|
10
|
+
* Changelog format is changed from .rdoc to .md.
|
11
|
+
* README format is changed from .rdoc to .md.
|
12
|
+
* README format change of contributor's list.
|
13
|
+
* Add example utilities for generating the contributor's list.
|
14
|
+
* Eliminate many warnings when using 'rake test', mostly from the 2.x Ruby series.
|
15
|
+
* Get rakefile up to date.
|
16
|
+
* Add the 'adhoc' subdirectory, an area for experiments and issue recreation code.
|
17
|
+
|
18
|
+
## 1.3.5 20160302
|
2
19
|
|
3
20
|
* Add AMQ specific durable topic example.
|
4
21
|
* Output error to stderr only in logger is undefined.
|
@@ -9,13 +26,13 @@
|
|
9
26
|
* On misc_err, make error messages more readable.
|
10
27
|
* Attempt to support both Rspec 2.14.1+ and 3.x.
|
11
28
|
|
12
|
-
|
29
|
+
## 1.3.4 20141202
|
13
30
|
|
14
31
|
* Change :start_timeout default to 0 (might break some clients) (#98).
|
15
32
|
* Allow user set of SSLContext options (#105).
|
16
33
|
* Allow user set of parm in SSLContext.new(parm) (#105).
|
17
34
|
|
18
|
-
|
35
|
+
## 1.3.3 20140810
|
19
36
|
|
20
37
|
* Do not attempt to write empty message bodies.
|
21
38
|
* Explicity close ssl socket on connection timeout.
|
@@ -23,7 +40,7 @@
|
|
23
40
|
* Do not override explicit :reliable => false.
|
24
41
|
* Fix client fail-over fails (#98)
|
25
42
|
|
26
|
-
|
43
|
+
## 1.3.2 20131208
|
27
44
|
|
28
45
|
* Anon tests assigned unique class name.
|
29
46
|
* Fix TypeError on connect timeout with 1.8.x, 2.x.
|
@@ -38,11 +55,11 @@
|
|
38
55
|
* Clean up logger interfacing.
|
39
56
|
* Fixes from RSpec testing
|
40
57
|
|
41
|
-
|
58
|
+
## 1.3.1 20131002
|
42
59
|
|
43
60
|
* Method calls to the logger object should check for that method first (#83)
|
44
61
|
|
45
|
-
|
62
|
+
## 1.3.0 20130930
|
46
63
|
|
47
64
|
* ERROR frames now raise an exception in the Stomp::Client thread(#73, #81)
|
48
65
|
* Allow anonymous connections (#75)
|
@@ -52,26 +69,26 @@
|
|
52
69
|
* Read receipt ids are now UUIDs
|
53
70
|
* Added a :start_timeout parameter
|
54
71
|
|
55
|
-
|
72
|
+
## 1.2.16 20130812
|
56
73
|
|
57
74
|
* Stomp::Client's should expose connection's host params
|
58
75
|
|
59
|
-
|
76
|
+
## 1.2.15 20130809
|
60
77
|
|
61
78
|
* Add user-specified timeout for initial CONNECTED/ERROR frame read.
|
62
79
|
* Eliminate dup Timeout::timeout in ssl connect
|
63
80
|
* Add license information to gemspec (#69)
|
64
81
|
|
65
|
-
|
82
|
+
## 1.2.14 20130819
|
66
83
|
|
67
84
|
* Version bump (1.2.13 release had Stomp::Version of 1.1.12.)
|
68
85
|
* Prevent dup subscription header on re-receive
|
69
86
|
|
70
|
-
|
87
|
+
## 1.2.13 20130817
|
71
88
|
|
72
89
|
* Issue #68, Stomp::Client#unreceive max_redeliveries off-by-one error
|
73
90
|
|
74
|
-
|
91
|
+
## 1.2.12 20130811
|
75
92
|
|
76
93
|
* Fix infinite loop when max reconn attempts is reached
|
77
94
|
* Enhance JRuby support in tests
|
@@ -83,20 +100,20 @@
|
|
83
100
|
* Issue #65, allow non-word characters in login and passcode using stomp://
|
84
101
|
* Issue #66, allow a single broker in a failover URL
|
85
102
|
|
86
|
-
|
103
|
+
## 1.2.11 20130728
|
87
104
|
|
88
105
|
* Issue #60, timeout/hang under JRuby
|
89
106
|
* More generally support JRuby use and testing
|
90
107
|
* Issue #58, nil message in Client on AMQ shutdown
|
91
108
|
* More robust RabbitMQ tests
|
92
109
|
|
93
|
-
|
110
|
+
## 1.2.10 20130708
|
94
111
|
|
95
112
|
* Issue #57, reconnect delays not honored if erroneous headers
|
96
113
|
* Support fail overs when heartbeat send/receive fails
|
97
114
|
* Update callback logger example
|
98
115
|
|
99
|
-
|
116
|
+
## 1.2.9 20130328
|
100
117
|
|
101
118
|
* Refactoring and documentation updates (glennr)
|
102
119
|
* Fix test encoding for Ruby 2.0+
|
@@ -105,19 +122,19 @@
|
|
105
122
|
* Correctly honor :suppress_content_length with 1.1 (JP Hastings-Spital)
|
106
123
|
* Fix reference to client.publish rather than client.send (JP Hastings-Spital)
|
107
124
|
|
108
|
-
|
125
|
+
## 1.2.8 20121228
|
109
126
|
|
110
127
|
* Fix inverted encode / decode logic (fairly major 1.1+ bug)
|
111
128
|
* Enhance codec tests
|
112
129
|
* Enhance Stomp 1.1+ tests
|
113
130
|
|
114
|
-
|
131
|
+
## 1.2.7 20121102
|
115
132
|
|
116
133
|
* Stomp 1.2 support (see http://stomp.github.com)
|
117
134
|
* Reset reconnect_delay to default value upon successful reconnect
|
118
135
|
* Enhance tests for Stomp 1.2
|
119
136
|
|
120
|
-
|
137
|
+
## 1.2.6 20120913
|
121
138
|
|
122
139
|
* Provide ability to eliminate checks for closed in protocol methods
|
123
140
|
* Cover ssl.connect with connection timeout parameter
|
@@ -125,7 +142,7 @@
|
|
125
142
|
* Remove methods that invoke __send__
|
126
143
|
* Move internal methods to 'private'
|
127
144
|
|
128
|
-
|
145
|
+
## 1.2.5 20120804
|
129
146
|
|
130
147
|
* Issue #48 any forks with modifications will be affected!
|
131
148
|
* Source code restructured into individual files
|
@@ -136,7 +153,7 @@
|
|
136
153
|
* Include examples and tests in rdoc generated during install
|
137
154
|
* Issue #47 socket is open during retries
|
138
155
|
|
139
|
-
|
156
|
+
## 1.2.4 20120625
|
140
157
|
|
141
158
|
* Add ability for client to request flush on write to the connection (Issue #45)
|
142
159
|
* Add ability for client to retrieve heartbeat intervals and counters
|
@@ -144,7 +161,7 @@
|
|
144
161
|
* Enhance tests for heartbeats
|
145
162
|
* Correct typos and clarify comments in many examples
|
146
163
|
|
147
|
-
|
164
|
+
## 1.2.3 20120616
|
148
165
|
|
149
166
|
* Fix UnsupportedProtocol on connect to a 1.0 broker
|
150
167
|
* Add Client#poll method
|
@@ -156,7 +173,7 @@
|
|
156
173
|
* Use symbols, not strings for all header keys
|
157
174
|
* Add IPV6 to IPV4 failover for dual homed systems when requested
|
158
175
|
|
159
|
-
|
176
|
+
## 1.2.2 20120324
|
160
177
|
|
161
178
|
* Major performance improvement for read of messages without content-length header
|
162
179
|
* Correct Stomp 1.1 failing test
|
@@ -166,7 +183,7 @@
|
|
166
183
|
* Allow SSL file checks before connect using SSLParams.new(:fsck => true, ...)
|
167
184
|
* Correct a test for Windows compatibility
|
168
185
|
|
169
|
-
|
186
|
+
## 1.2.1 20120313
|
170
187
|
|
171
188
|
* Robust SSL certificate support. See examples and: https://github.com/stompgem/stomp/wiki/extended-ssl-overview
|
172
189
|
* Really remove the deprecated #send methods
|
@@ -175,7 +192,7 @@
|
|
175
192
|
* Add reconnection attempts to callback logging.
|
176
193
|
* Add SSL specific connection information to callback logging.
|
177
194
|
|
178
|
-
|
195
|
+
## 1.2.0 20111214
|
179
196
|
|
180
197
|
* Stomp 1.1 protocol support. A significant change. Please test existing 1.0 code well. See the examples directory for 1.1 examples.
|
181
198
|
* Accept :reliable in a Stomp::Client connection hash
|
@@ -185,14 +202,14 @@
|
|
185
202
|
* Fix subscription id in find_listener
|
186
203
|
* Start to bootstrap STOMP 1.1 support
|
187
204
|
|
188
|
-
|
205
|
+
## 1.1.10 20111107
|
189
206
|
|
190
207
|
* Fixes for JRuby support
|
191
208
|
* Fix EOF error on disconnect
|
192
209
|
* Refactoring and additional test
|
193
210
|
* Set up tests for use of RabbitMQ
|
194
211
|
|
195
|
-
|
212
|
+
## 1.1.9 20110615
|
196
213
|
|
197
214
|
* Support wildcard destinations
|
198
215
|
* Handle subscribe with string or symbol ID
|
@@ -203,7 +220,7 @@
|
|
203
220
|
* Add optional callback logging. See the examples install directory, files logexamp.rb and slogger.rb
|
204
221
|
* Correct date stamps in this file
|
205
222
|
|
206
|
-
|
223
|
+
## 1.1.8 20110316
|
207
224
|
|
208
225
|
* Set KEEPALIVE on connection socket options
|
209
226
|
* Attempt to support JRuby more robustly (poll remains broken)
|
@@ -214,23 +231,23 @@
|
|
214
231
|
* Allow connection to hosts with a - (dash) in the host name
|
215
232
|
* Add limit parameter to thread joins
|
216
233
|
|
217
|
-
|
234
|
+
## 1.1.7 20110109
|
218
235
|
|
219
236
|
* Binary parse of raw STOMP frame
|
220
237
|
* Fix broken tests on Ruby 1.9.2
|
221
238
|
|
222
|
-
|
239
|
+
## 1.1.6 20100610
|
223
240
|
|
224
241
|
* Fixed multi-thread app hanging
|
225
242
|
|
226
|
-
|
243
|
+
## 1.1.5 20100317
|
227
244
|
|
228
245
|
* Added publish method (send is now deprecated)
|
229
246
|
* Changes on Rake File
|
230
247
|
* Added original_destination header to unreceive
|
231
248
|
* suppress content length header is send on the message for future handling (like unreceive)
|
232
249
|
|
233
|
-
|
250
|
+
## 1.1.4 20100121
|
234
251
|
|
235
252
|
* Added unreceive message method that sends the message back to its queue or to the
|
236
253
|
dead letter queue, depending on the :max_redeliveries option, similar to a13m one.
|
@@ -245,13 +262,13 @@
|
|
245
262
|
* Added connection_frame accessor
|
246
263
|
* Added disconnect receipt
|
247
264
|
|
248
|
-
|
265
|
+
## 1.1.3 20091124
|
249
266
|
|
250
267
|
* Failover support
|
251
268
|
* SSL support
|
252
269
|
* Stomp::Connection and Stomp::Client accept a hash on their constructor
|
253
270
|
|
254
|
-
|
271
|
+
## 1.1 20090227
|
255
272
|
|
256
273
|
* Ruby 1.9 Support
|
257
274
|
* Add support for connect_headers, to control the CONNECT command.
|
@@ -259,7 +276,7 @@
|
|
259
276
|
* Better test coverage
|
260
277
|
* General code cleanup.
|
261
278
|
|
262
|
-
|
279
|
+
## 1.0.6 20080805
|
263
280
|
|
264
281
|
* Whitespace cleanup
|
265
282
|
* Refactored Rakefile and added stomp.gemspec for GitHub friendliness.
|
@@ -271,33 +288,33 @@
|
|
271
288
|
* Created initial RSpec specs which stub/mock objects and should not require a running
|
272
289
|
Stomp server instance.
|
273
290
|
|
274
|
-
|
291
|
+
## v1.0.5 20070201
|
275
292
|
|
276
293
|
* better url parsing
|
277
294
|
* git-svn-id: http://svn.codehaus.org/stomp/ruby/trunk@48 fd4e7336-3dff-0310-b68a-b6615a75f13b
|
278
295
|
|
279
|
-
|
296
|
+
## v1.0.4 20070115
|
280
297
|
|
281
298
|
* Allow URL style connections descriptors
|
282
299
|
* git-svn-id: http://svn.codehaus.org/stomp/ruby/trunk@44 fd4e7336-3dff-0310-b68a-b6615a75f13b
|
283
300
|
|
284
|
-
|
301
|
+
## v1.0.3 20070114
|
285
302
|
|
286
303
|
* Additional fixes for reliable by Andrew Kuklewicz
|
287
304
|
* git-svn-id: http://svn.codehaus.org/stomp/ruby/trunk@42 fd4e7336-3dff-0310-b68a-b6615a75f13b
|
288
305
|
|
289
|
-
|
306
|
+
## v1.0.2 20060922
|
290
307
|
|
291
308
|
* Moving ruby so we can tag it ;-)
|
292
309
|
* git-svn-id: http://svn.codehaus.org/stomp/ruby/trunk@37 fd4e7336-3dff-0310-b68a-b6615a75f13b
|
293
310
|
|
294
|
-
|
311
|
+
## v1.0.1 20051217
|
295
312
|
|
296
313
|
* Increment version
|
297
314
|
* git-svn-id: http://svn.codehaus.org/stomp/trunk/ruby@24 fd4e7336-3dff-0310-b68a-b6615a75f13b
|
298
315
|
|
299
|
-
|
316
|
+
## v1.0.0 20051015
|
300
317
|
|
301
|
-
* works in repl, getting messages in weird order or dupes in test, but unable to isolate so far
|
318
|
+
* works in repl, getting messages in weird order or dupes in test, but unable to isolate so far #(
|
302
319
|
* git-svn-id: http://svn.codehaus.org/stomp/trunk/ruby@20 fd4e7336-3dff-0310-b68a-b6615a75f13b
|
303
320
|
|