stomp:mainline.git
4 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.

4 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.

4 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.

4 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.

4 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

4 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.

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

4 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.

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

4 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.

4 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.

4 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

4 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

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

4 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.

4 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

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

4 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.

5 years agoIssue #48 more miscellaneous docs and test docs.
gmallard [Tue, 31 Jul 2012 16:36:28 +0000 (12:36 -0400)]
Issue #48 more miscellaneous docs and test docs.

5 years agoIssue #48 miscellaneous documentation.
gmallard [Tue, 31 Jul 2012 14:25:57 +0000 (10:25 -0400)]
Issue #48 miscellaneous documentation.

5 years agoIssue #48 documentation of Stomp Error classes.
gmallard [Tue, 31 Jul 2012 13:09:44 +0000 (09:09 -0400)]
Issue #48 documentation of Stomp Error classes.

5 years agoIssue #48 Address comments and method call parens.
gmallard [Tue, 31 Jul 2012 02:20:21 +0000 (22:20 -0400)]
Issue #48 Address comments and method call parens.

5 years agoCorrect info return in the sample and test loggers.
gmallard [Sun, 29 Jul 2012 16:46:51 +0000 (12:46 -0400)]
Correct info return in the sample and test loggers.

5 years agoCorrect typo in README.
gmallard [Sun, 29 Jul 2012 16:18:30 +0000 (12:18 -0400)]
Correct typo in README.

5 years agoIssue #48 rbeautify mainline and hand tweaks.
gmallard [Sun, 29 Jul 2012 16:10:46 +0000 (12:10 -0400)]
Issue #48 rbeautify mainline and hand tweaks.

5 years agoIssue #48 adjust binaries by hand.
gmallard [Sun, 29 Jul 2012 15:55:10 +0000 (11:55 -0400)]
Issue #48 adjust binaries by hand.

5 years agoIssue #48, rbeautify examples and hand tweak same.
gmallard [Sun, 29 Jul 2012 15:46:24 +0000 (11:46 -0400)]
Issue #48, rbeautify examples and hand tweak same.

5 years agoCorrect connect header display, was wrong header name.
gmallard [Sun, 29 Jul 2012 13:16:04 +0000 (09:16 -0400)]
Correct connect header display, was wrong header name.

5 years agoIssue #48 A first step.
gmallard [Sat, 28 Jul 2012 22:58:51 +0000 (18:58 -0400)]
Issue #48 A first step.

5 years agoIssue #47 socket still reports open during a retry sequence.
gmallard [Tue, 3 Jul 2012 16:36:02 +0000 (12:36 -0400)]
Issue #47 socket still reports open during a retry sequence.

5 years agoGem version 1.2.4. See the changelog for details. v1.2.4
gmallard [Mon, 25 Jun 2012 12:34:03 +0000 (08:34 -0400)]
Gem version 1.2.4.  See the changelog for details.

5 years agoEnhanced heart beat tests added.
gmallard [Sun, 24 Jun 2012 21:42:29 +0000 (17:42 -0400)]
Enhanced heart beat tests added.

5 years agoAdd and expose heartbeat send and receive counters.
gmallard [Sat, 23 Jun 2012 17:15:23 +0000 (13:15 -0400)]
Add and expose heartbeat send and receive counters.

5 years agoELiminate some client tests using JRuby. This needs to be revisited.
gmallard [Sat, 23 Jun 2012 15:04:10 +0000 (11:04 -0400)]
ELiminate some client tests using JRuby.  This needs to be revisited.

5 years agoEliminate NACK test for AMQ and STOMP 1.1. AMQ uses DLQ.
gmallard [Sat, 23 Jun 2012 13:55:30 +0000 (09:55 -0400)]
Eliminate NACK test for AMQ and STOMP 1.1.  AMQ uses DLQ.

5 years agoFix Issue #46, io errors on reads.
gmallard [Fri, 22 Jun 2012 18:03:35 +0000 (14:03 -0400)]
Fix Issue #46, io errors on reads.

5 years agoAdd ability for client to obtain heart beat ticker intervals.
gmallard [Fri, 22 Jun 2012 15:14:44 +0000 (11:14 -0400)]
Add ability for client to obtain heart beat ticker intervals.

5 years agoFix typos, spelling, documentation for many examples.
gmallard [Thu, 21 Jun 2012 16:28:12 +0000 (12:28 -0400)]
Fix typos, spelling, documentation for many examples.

5 years agoMerge pull request #45 from JGailor/master
Guy M. Allard [Sat, 23 Jun 2012 13:19:29 +0000 (06:19 -0700)]
Merge pull request #45 from JGailor/master

Explicitly flushing the connection to prevent last message chunk from not being sent

5 years agoAdded an accessor for autoflush to the connection, and allow it to be assigned either...
Jeremy Gailor [Sat, 23 Jun 2012 00:06:14 +0000 (17:06 -0700)]
Added an accessor for autoflush to the connection, and allow it to be assigned either when initially creating your Stomp::Client or as needed by changing the value of the accessor through the client

5 years agoAdded flush on the socket to make sure last piece of the message is explicitly sent
Jeremy Gailor [Mon, 18 Jun 2012 19:44:30 +0000 (12:44 -0700)]
Added flush on the socket to make sure last piece of the message is explicitly sent

5 years agoGem version 1.2.3. See the change log for details. v1.2.3
gmallard [Sat, 16 Jun 2012 15:00:34 +0000 (11:00 -0400)]
Gem version 1.2.3.  See the change log for details.

5 years agoFix Isue #44, UnsupportedProtocol on connect to a 1.0 server.
gmallard [Sat, 2 Jun 2012 13:33:04 +0000 (09:33 -0400)]
Fix Isue #44, UnsupportedProtocol on connect to a 1.0 server.

5 years agoFix Issue #43, add poll to client interfaces.
gmallard [Fri, 1 Jun 2012 16:15:00 +0000 (12:15 -0400)]
Fix Issue #43, add poll to client interfaces.

5 years agoMerge pull request #40 from thbishop/command_help_output
Guy M. Allard [Fri, 11 May 2012 18:11:26 +0000 (11:11 -0700)]
Merge pull request #40 from thbishop/command_help_output

Add help output to stompcat and catstomp

5 years agoAdd help output to stompcat and catstomp.
Tommy Bishop [Fri, 11 May 2012 06:14:30 +0000 (23:14 -0700)]
Add help output to stompcat and catstomp.

5 years agoUpdated for issue #38 (Private key password can't be set).
mindscratch [Mon, 7 May 2012 13:26:53 +0000 (10:26 -0300)]
Updated for issue #38 (Private key password can't be set).

5 years agoUpdate for issue #38 (Private key password can't be set).
mindscratch [Mon, 7 May 2012 13:25:40 +0000 (10:25 -0300)]
Update for issue #38 (Private key password can't be set).

5 years agoFix incorrect/backwards code and comments in ssl use cases 2 and 3.
gmallard [Wed, 9 May 2012 12:10:37 +0000 (08:10 -0400)]
Fix incorrect/backwards code and comments in ssl use cases 2 and 3.

Use cases should now match the description in the wiki:
https://github.com/stompgem/stomp/wiki/ssl-usecases

5 years agoMore and hopefully final changes to the stompgem repo URL.
gmallard [Sat, 5 May 2012 21:49:03 +0000 (17:49 -0400)]
More and hopefully final changes to the stompgem repo URL.

5 years agoChanges references to the stompgem repo.
gmallard [Sat, 5 May 2012 18:45:42 +0000 (14:45 -0400)]
Changes references to the stompgem repo.

5 years agoFix spec tests, broken by 8d27a69.
gmallard [Sat, 5 May 2012 13:46:22 +0000 (09:46 -0400)]
Fix spec tests, broken by 8d27a69.

5 years agoRemove references to gitorious repo.
gmallard [Sat, 5 May 2012 13:23:25 +0000 (09:23 -0400)]
Remove references to gitorious repo.

5 years agoReformat dates to ISO8601. Add ancient history from tags.
gmallard [Sat, 5 May 2012 13:01:15 +0000 (09:01 -0400)]
Reformat dates to ISO8601.  Add ancient history from tags.

5 years agoMore documentation for SSL use case examples.
gmallard [Thu, 3 May 2012 01:01:04 +0000 (21:01 -0400)]
More documentation for SSL use case examples.

5 years agoFix issue #36 - SSL Example Use Case 4 Fails with JRuby 1.6.5
mindscratch [Wed, 2 May 2012 12:13:51 +0000 (09:13 -0300)]
Fix issue #36 - SSL Example Use Case 4 Fails with JRuby 1.6.5

5 years agoUse symbols, not strings for header keys (issue #35).
gmallard [Wed, 2 May 2012 12:46:49 +0000 (08:46 -0400)]
Use symbols, not strings for header keys (issue #35).

5 years agoAllow \r on message headers during receive.
gmallard [Mon, 30 Apr 2012 23:56:04 +0000 (19:56 -0400)]
Allow \r on message headers during receive.

5 years agoFix typo, spelling.
gmallard [Tue, 10 Apr 2012 13:13:10 +0000 (09:13 -0400)]
Fix typo, spelling.

5 years agoConnect hash :dmh => true causes IPV6 to IPV4 fail over when possible.
gmallard [Sun, 8 Apr 2012 16:59:49 +0000 (12:59 -0400)]
Connect hash :dmh => true causes IPV6 to IPV4 fail over when possible.

5 years agoGem version 1.2.2. See the change log for details. v1.2.2
gmallard [Sun, 25 Mar 2012 01:10:57 +0000 (21:10 -0400)]
Gem version 1.2.2.  See the change log for details.

5 years agoTweak test for Windows compatability.
gmallard [Thu, 22 Mar 2012 23:43:25 +0000 (19:43 -0400)]
Tweak test for Windows compatability.

5 years agoAdd ability for clients to use :fsck => true when using SSLParams.new.
gmallard [Tue, 20 Mar 2012 00:40:05 +0000 (20:40 -0400)]
Add ability for clients to use :fsck => true when using SSLParams.new.

5 years agoCheck exception classes differently and add File::readable? checks for SSL files.
gmallard [Mon, 19 Mar 2012 22:55:32 +0000 (18:55 -0400)]
Check exception classes differently and add File::readable? checks for SSL files.

5 years agoAllow clients to opotionally signal quit from a connectfail callback.
gmallard [Mon, 19 Mar 2012 17:51:12 +0000 (13:51 -0400)]
Allow clients to opotionally signal quit from a connectfail callback.

The callbacks:

- on_connectfail
- on_ssl_connectfail

may raise Stomp::Error::LoggerConnectionError to signal that
connection attempts should not continue.  This exception is
passed to the caller to handle.

5 years agoAdd on_ssl_connectfail logger callback with Exception information.
gmallard [Sat, 17 Mar 2012 17:59:07 +0000 (13:59 -0400)]
Add on_ssl_connectfail logger callback with Exception information.

5 years agoMerge pull request #32 from FearMediocrity/patch-1
Guy M. Allard [Fri, 16 Mar 2012 23:00:51 +0000 (16:00 -0700)]
Merge pull request #32 from FearMediocrity/patch-1

Updated the sample code to reflect the use of publish instead of send.

5 years agoUpdated the sample code to reflect the use of publish instead of send.
James Pearson [Fri, 16 Mar 2012 19:02:11 +0000 (19:02 +0000)]
Updated the sample code to reflect the use of publish instead of send.

5 years agoCorrect failing test using Stomp 1.1
gmallard [Fri, 16 Mar 2012 14:11:40 +0000 (10:11 -0400)]
Correct failing test using Stomp 1.1

5 years agoPerformance: receive of messages without a content_length header improvement.
gmallard [Fri, 16 Mar 2012 12:55:45 +0000 (08:55 -0400)]
Performance:  receive of messages without a content_length header improvement.

5 years agoUpdate changelog and gemspec. Gem version 1.2.1. v1.2.1
gmallard [Tue, 13 Mar 2012 13:53:51 +0000 (09:53 -0400)]
Update changelog and gemspec.  Gem version 1.2.1.

5 years agoUse defined constants in all cases.
gmallard [Sun, 11 Mar 2012 23:18:30 +0000 (19:18 -0400)]
Use defined constants in all cases.

5 years agoRaise if an SSL required file does not exist.
gmallard [Sun, 11 Mar 2012 19:06:57 +0000 (15:06 -0400)]
Raise if an SSL required file does not exist.

5 years agoSome prep work for gem version 1.2.1.
gmallard [Sat, 10 Mar 2012 17:32:14 +0000 (12:32 -0500)]
Some prep work for gem version 1.2.1.

5 years agoFix issue 27:
gmallard [Sat, 10 Mar 2012 17:09:28 +0000 (12:09 -0500)]
Fix issue 27:

Raise Stomp Error if header read is nil.
Warn if connection logon looks like a URL.

5 years agoWhen using SSLParams allow flexibility in the ciphers list to be used:
gmallard [Sat, 10 Mar 2012 14:09:51 +0000 (09:09 -0500)]
When using SSLParams allow flexibility in the ciphers list to be used:

Options provided are:

- Stomp::DEFAULT_CIPHERS (the default)
- Client specified custom ciphers list
- Force use of Ruby's default cipher list

5 years agoAdd connecting and connected loger callbacks specifically for SSL.
gmallard [Fri, 9 Mar 2012 20:31:11 +0000 (15:31 -0500)]
Add connecting and connected loger callbacks specifically for SSL.

5 years agoAdd a default SSL ciphers list, and let clients override it.
gmallard [Fri, 9 Mar 2012 19:58:34 +0000 (14:58 -0500)]
Add a default SSL ciphers list, and let clients override it.

This corrects connection failures in more modern Ruby builds.

5 years agoMerge pull request #31 from ripienaar/log_all_connect_attempts
Guy M. Allard [Fri, 9 Mar 2012 19:24:00 +0000 (11:24 -0800)]
Merge pull request #31 from ripienaar/log_all_connect_attempts

Always log connection attempts via on_connecting

5 years agoOnly log the connection attempt in open_tcp_socket since open_ssl_socket
R.I.Pienaar [Fri, 9 Mar 2012 17:30:27 +0000 (17:30 +0000)]
Only log the connection attempt in open_tcp_socket since open_ssl_socket
will use that method to create the socket

5 years agoPrior to this commit the on_connect logger would only be called on
R.I.Pienaar [Fri, 9 Mar 2012 15:46:34 +0000 (15:46 +0000)]
Prior to this commit the on_connect logger would only be called on
initialize, not later on during reconnects such as those initiated
during managing a reliable connection:

    `on_connecting' Connection attempt 0 to stomp://rip@stomp:6162
    `on_connectfail' Connection to stomp://rip@stomp:6162 failed on attempt 0
    `on_connected' Conncted to stomp://rip@stomp:6163

Here a 2nd connection attempt was made to the failover connection that
was defined in the pool but never logged

With this commit we now log at each attempt to reconnect the sockets
instead so we get:

    `on_connecting' Connection attempt 0 to stomp://rip@stomp:6162
    `on_connectfail' Connection to stomp://rip@stomp:6162 failed on attempt 0
    `on_connecting' Connection attempt 1 to stomp://rip@stomp:6163
    `on_connected' Conncted to stomp://rip@stomp:6163

5 years agoFix verify_result for Ruby 1.8.[56]
gmallard [Tue, 6 Mar 2012 13:31:00 +0000 (08:31 -0500)]
Fix verify_result for Ruby 1.8.[56]

5 years agoSupport multiple certs in the client trust store.
gmallard [Sun, 4 Mar 2012 22:45:11 +0000 (17:45 -0500)]
Support multiple certs in the client trust store.

5 years agoAdd short SSL connection examples.
gmallard [Sun, 4 Mar 2012 16:36:23 +0000 (11:36 -0500)]
Add short SSL connection examples.

5 years agoAdd feedback information to SSLParams.
gmallard [Sun, 4 Mar 2012 16:07:34 +0000 (11:07 -0500)]
Add feedback information to SSLParams.