stomp:mainline.git
4 years agoGem version 1.2.12 v1.2.12
gmallard [Sun, 11 Aug 2013 19:17:27 +0000 (15:17 -0400)]
Gem version 1.2.12

4 years agoVersion bump
gmallard [Sun, 11 Aug 2013 19:05:27 +0000 (15:05 -0400)]
Version bump

4 years agoIssue #66, failover URL regex should allow a single broker
gmallard [Sun, 11 Aug 2013 19:00:17 +0000 (15:00 -0400)]
Issue #66, failover URL regex should allow a single broker

4 years agoIssue #65, non-word characters, login and passcode.
gmallard [Sat, 10 Aug 2013 17:15:27 +0000 (13:15 -0400)]
Issue #65, non-word characters, login and passcode.

4 years agoRemove extraneous private declarations.
gmallard [Sat, 10 Aug 2013 11:57:15 +0000 (07:57 -0400)]
Remove extraneous private declarations.

4 years agoSquelch warning during unit tests.
gmallard [Fri, 9 Aug 2013 17:39:39 +0000 (13:39 -0400)]
Squelch warning during unit tests.

4 years agoIssue #63, fast spurious fail overs.
gmallard [Fri, 9 Aug 2013 11:58:26 +0000 (07:58 -0400)]
Issue #63, fast spurious fail overs.

Added connection parameter to allow clients to supply
an adjustment value to the sender heartbeat sleep time.
See notes/heartbeat_readme.txt for guidance on use.

4 years agoProper cleanup when not reliable and EOF from broker
gmallard [Sun, 4 Aug 2013 16:11:02 +0000 (12:11 -0400)]
Proper cleanup when not reliable and EOF from broker

4 years agoMerge pull request #67 from chirino/master
Guy M. Allard [Fri, 9 Aug 2013 12:03:14 +0000 (05:03 -0700)]
Merge pull request #67 from chirino/master

Set the SSL hostname so that SSL SNI based proxies can route a connection

4 years agoThe SSL hostname so that SSL SNI based proxies can route a connection properly.
Hiram Chirino [Wed, 7 Aug 2013 17:56:11 +0000 (13:56 -0400)]
The SSL hostname so that SSL SNI based proxies can route a connection properly.

4 years agoIssue #63, nil client message, rapid AMQ restarts
gmallard [Sat, 3 Aug 2013 15:14:54 +0000 (11:14 -0400)]
Issue #63, nil client message, rapid AMQ restarts

At present this does not implement suggested
changes to the heartbeating logic.

4 years agoCorrect long hidden test problem with RabbitMQ.
gmallard [Mon, 29 Jul 2013 22:17:34 +0000 (18:17 -0400)]
Correct long hidden test problem with RabbitMQ.

4 years agoEnhance JRuby support in unit tests.
gmallard [Mon, 29 Jul 2013 19:35:34 +0000 (15:35 -0400)]
Enhance JRuby support in unit tests.

4 years agoFix infinite loop when max_reconnect_attempts is reached.
Ian Smith [Mon, 29 Jul 2013 20:58:54 +0000 (13:58 -0700)]
Fix infinite loop when max_reconnect_attempts is reached.

4 years agoGem version 1.2.11. See CHANGELOG for details. v1.2.11
gmallard [Sun, 28 Jul 2013 22:22:07 +0000 (18:22 -0400)]
Gem version 1.2.11.  See CHANGELOG for details.

4 years agoTest connection ack/abort reworkfor protocol 1.2.
gmallard [Sun, 28 Jul 2013 17:36:31 +0000 (13:36 -0400)]
Test connection ack/abort reworkfor protocol 1.2.

4 years agoJRuby environment changes:
gmallard [Sat, 27 Jul 2013 22:22:22 +0000 (18:22 -0400)]
JRuby environment changes:

Fix hang in client receives
Possibly fix client timeout issues
Attempt tp detect JRuby and behave properly
Add tests for detecting JRuby

4 years agoVersion bump.
gmallard [Sat, 27 Jul 2013 17:11:56 +0000 (13:11 -0400)]
Version bump.

4 years agoMake ACK test more representative.
gmallard [Thu, 25 Jul 2013 19:30:23 +0000 (15:30 -0400)]
Make ACK test more representative.

4 years agoRemove test restriction for Rabbit testing.
gmallard [Wed, 24 Jul 2013 19:56:12 +0000 (15:56 -0400)]
Remove test restriction for Rabbit testing.

4 years agoFix issue #58, nil message on AMQ shutdown.
gmallard [Fri, 12 Jul 2013 12:40:16 +0000 (08:40 -0400)]
Fix issue #58, nil message on AMQ shutdown.

4 years agoGem version 1.2.10. See CHANGELOG for details. v1.2.10
gmallard [Mon, 8 Jul 2013 14:33:53 +0000 (10:33 -0400)]
Gem version 1.2.10.  See CHANGELOG for details.

4 years agoDetect nil?/EOF on HB read, failover if reliable.
gmallard [Wed, 26 Jun 2013 16:54:31 +0000 (12:54 -0400)]
Detect nil?/EOF on HB read, failover if reliable.

4 years agoAdd notes on use of heartbeats.
gmallard [Thu, 20 Jun 2013 13:12:49 +0000 (09:12 -0400)]
Add notes on use of heartbeats.

4 years agoSet sync_close to true for SSL connection.
gmallard [Mon, 20 May 2013 19:13:38 +0000 (15:13 -0400)]
Set sync_close to true for SSL connection.

4 years agoUpdate SSL use case examples.
gmallard [Sun, 19 May 2013 21:34:42 +0000 (17:34 -0400)]
Update SSL use case examples.

4 years agoChange comparison operator for more clarity.
gmallard [Sat, 18 May 2013 17:16:01 +0000 (13:16 -0400)]
Change comparison operator for more clarity.

4 years agoUpdate spec tests with new parameters.
gmallard [Sat, 18 May 2013 17:06:53 +0000 (13:06 -0400)]
Update spec tests with new parameters.

4 years agoAdd missed comment about new HB read lock parameter.
gmallard [Sat, 18 May 2013 17:05:01 +0000 (13:05 -0400)]
Add missed comment about new HB read lock parameter.

4 years agoTweak callback logger used in unit tests.
gmallard [Sat, 18 May 2013 15:21:57 +0000 (11:21 -0400)]
Tweak callback logger used in unit tests.

4 years agoTweak callback logger example.
gmallard [Sat, 18 May 2013 15:01:28 +0000 (11:01 -0400)]
Tweak callback logger example.

4 years agoRetry new connection on HB read lock obtain fail.
gmallard [Sat, 18 May 2013 14:48:14 +0000 (10:48 -0400)]
Retry new connection on HB read lock obtain fail.

When @reliable is true, and a read heart-beat can not obtain the
read lock, clean up the current environment, and attempt a
fail over reconnect under the following conditions:

* The :max_hbrlck_fails connect hash parameter is greater than 0
* The running obtain failure count is greater than :max_hbrlck_fails

4 years agoAdd exception handling to heartbeat reader.
gmallard [Fri, 17 May 2013 18:36:04 +0000 (14:36 -0400)]
Add exception handling to heartbeat reader.

4 years agoCorrect another case where fail over host is not switched correctly.
gmallard [Wed, 15 May 2013 19:45:25 +0000 (15:45 -0400)]
Correct another case where fail over host is not switched correctly.

4 years agoRetry new connection when HB read fails. First cut:
gmallard [Wed, 15 May 2013 17:09:02 +0000 (13:09 -0400)]
Retry new connection when HB read fails. First cut:

When @reliable is true, and a heart-beat receive fails,
clean up the current environment, and attempt a
fail over reconnect under the following conditions:

* The :max_hbread_fails connect hash parameter is greater than 0
* The running read failure count is greater than :max_hbread_fails

4 years agoRetry new connection when HB send fails.
gmallard [Tue, 14 May 2013 18:14:50 +0000 (14:14 -0400)]
Retry new connection when HB send fails.

When @reliable is true, and a heart-beat send fails,
clean up the current environment, and attempt a
fail over reconnect.

4 years agoConsolidate logic that prepares for a reconnect retry.
gmallard [Mon, 13 May 2013 18:40:10 +0000 (14:40 -0400)]
Consolidate logic that prepares for a reconnect retry.

4 years agoOn connect retry, kill any pre-existing HB ticker threads.
gmallard [Mon, 13 May 2013 17:42:37 +0000 (13:42 -0400)]
On connect retry, kill any pre-existing HB ticker threads.

4 years agoCorrect failover error: failing host is immediately retried.
gmallard [Mon, 13 May 2013 16:52:09 +0000 (12:52 -0400)]
Correct failover error: failing host is immediately retried.

4 years agoVersion bump. Will happen eventually.
gmallard [Sun, 12 May 2013 23:41:11 +0000 (19:41 -0400)]
Version bump.  Will happen eventually.

4 years agoDefensive coding against @socket.nil?
gmallard [Fri, 12 Apr 2013 23:22:34 +0000 (19:22 -0400)]
Defensive coding against @socket.nil?

4 years agoAddress issue #57
gmallard [Sat, 11 May 2013 12:33:01 +0000 (08:33 -0400)]
Address issue #57

4 years agoFix Issue #56, missing id header.
gmallard [Thu, 11 Apr 2013 13:00:48 +0000 (09:00 -0400)]
Fix Issue #56, missing id header.

4 years agoAdd additional callback logger method support.
gmallard [Thu, 11 Apr 2013 12:53:56 +0000 (08:53 -0400)]
Add additional callback logger method support.

4 years agoGem version 1.2.9. See CHANGELOG for details. v1.2.9
gmallard [Thu, 28 Mar 2013 23:04:05 +0000 (19:04 -0400)]
Gem version 1.2.9.  See CHANGELOG for details.

4 years agoManually revert Gemfile add commit d7d3ad0. Please:
gmallard [Wed, 27 Mar 2013 22:19:49 +0000 (18:19 -0400)]
Manually revert Gemfile add commit d7d3ad0.  Please:

Do not make this gem unbuildable via 'rake build',
using any combination of Ruby version and gem version.

The gem must be buildable under any circumstances.

4 years agoMerge pull request #53 from glennr/gr_gemfile
Guy M. Allard [Sat, 16 Mar 2013 14:48:18 +0000 (07:48 -0700)]
Merge pull request #53 from glennr/gr_gemfile

add gemfile

4 years agoMerge pull request #54 from glennr/gr_cosmetic_fixes
Guy M. Allard [Sat, 16 Mar 2013 14:47:45 +0000 (07:47 -0700)]
Merge pull request #54 from glennr/gr_cosmetic_fixes

Gr cosmetic fixes

4 years agoadd gemfile
glennr [Thu, 14 Mar 2013 14:09:43 +0000 (16:09 +0200)]
add gemfile

4 years agocosmetic: refactor long constructor method
glennr [Thu, 14 Mar 2013 13:54:40 +0000 (15:54 +0200)]
cosmetic: refactor long constructor method

4 years agofix confusing test/user params in readme
glennr [Thu, 14 Mar 2013 13:12:22 +0000 (15:12 +0200)]
fix confusing test/user params in readme

4 years agoFix test source encoding under Ruby 2.0.0p0.
gmallard [Sun, 24 Feb 2013 14:53:18 +0000 (09:53 -0500)]
Fix test source encoding under Ruby 2.0.0p0.

4 years agoAdd regression test for suppress content length with AMQ.
gmallard [Sat, 23 Feb 2013 14:59:33 +0000 (09:59 -0500)]
Add regression test for suppress content length with AMQ.

4 years agoFix content length test broken by 774df62.
gmallard [Sat, 23 Feb 2013 14:58:20 +0000 (09:58 -0500)]
Fix content length test broken by 774df62.

4 years agoIssue #50 for Stomp::Client instances on reconnects.
gmallard [Fri, 22 Feb 2013 16:12:28 +0000 (11:12 -0500)]
Issue #50 for Stomp::Client instances on reconnects.

4 years agoMerge pull request #52 from jphastings/master
Guy M. Allard [Fri, 22 Feb 2013 17:05:55 +0000 (09:05 -0800)]
Merge pull request #52 from jphastings/master

Fix bug with :suppress_content_length on STOMP 1.1 protocol

4 years agoAdheres to the :suppress_content_length => true command when using STOMP 1.1
JP Hastings-Spital [Wed, 20 Feb 2013 16:16:10 +0000 (16:16 +0000)]
Adheres to the :suppress_content_length => true command when using STOMP 1.1

4 years agoFix reference in documentation to client.send => client.publish
JP Hastings-Spital [Wed, 20 Feb 2013 14:00:30 +0000 (14:00 +0000)]
Fix reference in documentation to client.send => client.publish

4 years agoGem version 1.2.8. See CHANGELOG.rdoc for details v1.2.8
gmallard [Sat, 29 Dec 2012 03:44:46 +0000 (22:44 -0500)]
Gem version 1.2.8.  See CHANGELOG.rdoc for details

4 years agoTests use require_relative when possible.
gmallard [Mon, 24 Dec 2012 16:21:21 +0000 (11:21 -0500)]
Tests use require_relative when possible.

4 years agoClean up 1.1+ tests.
gmallard [Mon, 24 Dec 2012 15:28:03 +0000 (10:28 -0500)]
Clean up 1.1+ tests.

4 years agoMore enhanced codec tests.
gmallard [Mon, 24 Dec 2012 01:55:17 +0000 (20:55 -0500)]
More enhanced codec tests.

4 years agoIssue disconnect in tests which do not use the connection instance variable.
gmallard [Mon, 24 Dec 2012 01:02:05 +0000 (20:02 -0500)]
Issue disconnect in tests which do not use the connection instance variable.

4 years agoEnhance codec tests.
gmallard [Mon, 24 Dec 2012 00:38:29 +0000 (19:38 -0500)]
Enhance codec tests.

4 years agoFix inverted header encode / decode logic.
gmallard [Sun, 23 Dec 2012 19:37:19 +0000 (14:37 -0500)]
Fix inverted header encode / decode logic.

5 years agoClarify method calls with parens.
gmallard [Mon, 5 Nov 2012 14:57:36 +0000 (09:57 -0500)]
Clarify method calls with parens.

5 years agoClarify miscellaneous error messages for caller.
gmallard [Mon, 5 Nov 2012 14:42:02 +0000 (09:42 -0500)]
Clarify miscellaneous error messages for caller.

5 years agoGem Version 1.2.7. See CHANGELOG.rdoc for details. v1.2.7
gmallard [Fri, 2 Nov 2012 18:29:43 +0000 (14:29 -0400)]
Gem Version 1.2.7.  See CHANGELOG.rdoc for details.

5 years agoChange duplicate test names and AMQ multiheader behavior.
gmallard [Fri, 2 Nov 2012 17:54:50 +0000 (13:54 -0400)]
Change duplicate test names and AMQ multiheader behavior.

5 years agoEnhance tests: check for ERROR frame at end where appropriate.
gmallard [Wed, 31 Oct 2012 18:21:06 +0000 (14:21 -0400)]
Enhance tests:  check for ERROR frame at end where appropriate.

5 years agoAdjust rspec tests for CRLF support.
gmallard [Sat, 27 Oct 2012 16:21:27 +0000 (12:21 -0400)]
Adjust rspec tests for CRLF support.

5 years agoInitial support for optional use of CRLF line ends with Stomp 1.2
gmallard [Sat, 27 Oct 2012 14:24:47 +0000 (10:24 -0400)]
Initial support for optional use of CRLF line ends with Stomp 1.2

5 years agoAdjust transaction / ack tests for current 1.2 broker behavior.
gmallard [Tue, 30 Oct 2012 22:41:12 +0000 (18:41 -0400)]
Adjust transaction / ack tests for current 1.2 broker behavior.

5 years agoCorrect unsubscribe headers.
gmallard [Tue, 30 Oct 2012 22:15:52 +0000 (18:15 -0400)]
Correct unsubscribe headers.

5 years agoCorrect rspec tests after Stomp 1.2 changes.
gmallard [Wed, 24 Oct 2012 17:05:33 +0000 (13:05 -0400)]
Correct rspec tests after Stomp 1.2 changes.

5 years agoAdd stompconn to default parameters.
gmallard [Wed, 24 Oct 2012 16:34:59 +0000 (12:34 -0400)]
Add stompconn to default parameters.

5 years agoReinitialize reconnect_delay on a successful reconnect.
gmallard [Wed, 24 Oct 2012 16:28:45 +0000 (12:28 -0400)]
Reinitialize reconnect_delay on a successful reconnect.

5 years agoAllow optional use of STOMP rather than CONNECT for 1.1+ clients.
gmallard [Sun, 21 Oct 2012 18:30:11 +0000 (14:30 -0400)]
Allow optional use of STOMP rather than CONNECT for 1.1+ clients.

5 years agoACK/NACK support for Stomp 1.2 in Stomp::Client
gmallard [Sun, 21 Oct 2012 15:51:59 +0000 (11:51 -0400)]
ACK/NACK support for Stomp 1.2 in Stomp::Client

5 years agoACK/NACK support for Stomp 1.2 in Stomp::Connection
gmallard [Sun, 21 Oct 2012 14:47:12 +0000 (10:47 -0400)]
ACK/NACK support for Stomp 1.2 in Stomp::Connection

5 years agoIgnore temp files.
gmallard [Sat, 20 Oct 2012 17:01:02 +0000 (13:01 -0400)]
Ignore temp files.

5 years agoChange test environment variable to better support miltiple versions.
gmallard [Sat, 20 Oct 2012 16:44:44 +0000 (12:44 -0400)]
Change test environment variable to better support miltiple versions.

5 years agoCodec support for value encodings required in STOMP 1.2
gmallard [Sat, 20 Oct 2012 16:22:05 +0000 (12:22 -0400)]
Codec support for value encodings required in STOMP 1.2

5 years agoIgnore backup files.
gmallard [Sat, 13 Oct 2012 17:41:00 +0000 (13:41 -0400)]
Ignore backup files.

5 years agoBelatedly commit latest gemspec.
gmallard [Sat, 13 Oct 2012 17:19:53 +0000 (13:19 -0400)]
Belatedly commit latest gemspec.

5 years agoGem version 1.2.6. See changelog for details. v1.2.6
gmallard [Wed, 19 Sep 2012 17:07:55 +0000 (13:07 -0400)]
Gem version 1.2.6.  See changelog for details.

5 years agoRemove duplicate method from test logger.
gmallard [Thu, 13 Sep 2012 13:17:25 +0000 (09:17 -0400)]
Remove duplicate method from test logger.

5 years agoOn heartbeat send expection, reraise only if requested.
gmallard [Thu, 13 Sep 2012 12:27:59 +0000 (08:27 -0400)]
On heartbeat send expection, reraise only if requested.

5 years agoCover ssl.connect with connection timeout.
gmallard [Thu, 13 Sep 2012 12:13:14 +0000 (08:13 -0400)]
Cover ssl.connect with connection timeout.

5 years agoVersion bump and gemspec.
gmallard [Wed, 12 Sep 2012 12:39:32 +0000 (08:39 -0400)]
Version bump and gemspec.

5 years agoMake esoteric methods private. Public API cleanup.
gmallard [Mon, 10 Sep 2012 18:38:09 +0000 (14:38 -0400)]
Make esoteric methods private.  Public API cleanup.

5 years agoRemove methods that merely invoke __send__.
gmallard [Mon, 10 Sep 2012 18:24:43 +0000 (14:24 -0400)]
Remove methods that merely invoke __send__.

5 years agoProvide the ability to disable raises of NoCurrentConnection in protocol methods.
gmallard [Mon, 10 Sep 2012 15:53:25 +0000 (11:53 -0400)]
Provide the ability to disable raises of NoCurrentConnection in protocol methods.

5 years agoRemove unused instance variable.
gmallard [Mon, 10 Sep 2012 15:06:31 +0000 (11:06 -0400)]
Remove unused instance variable.

5 years agoUpdate README per current work.
gmallard [Mon, 10 Sep 2012 14:57:03 +0000 (10:57 -0400)]
Update README per current work.

5 years agoRemove unimplemented and undocumented connect params and comments cleanup.
gmallard [Sun, 9 Sep 2012 15:34:50 +0000 (11:34 -0400)]
Remove unimplemented and undocumented connect params and comments cleanup.

5 years agoGem version 1.2.5. See the changelog for details. v1.2.5
gmallard [Sat, 4 Aug 2012 18:11:07 +0000 (14:11 -0400)]
Gem version 1.2.5.  See the changelog for details.

5 years agoIssue #48 Examples structure and rdoc.
gmallard [Sat, 4 Aug 2012 17:42:06 +0000 (13:42 -0400)]
Issue #48 Examples structure and rdoc.

5 years agoEnhance installation generated rdoc.
gmallard [Sat, 4 Aug 2012 14:35:01 +0000 (10:35 -0400)]
Enhance installation generated rdoc.

5 years agoIssue #48 Fine tune many comments.
gmallard [Thu, 2 Aug 2012 11:28:25 +0000 (07:28 -0400)]
Issue #48 Fine tune many comments.