activemq-apollo.git
6 years ago[maven-release-plugin] copy for tag apollo-project-1.0 tags/apollo-project-1.0 apollo-project-1.0
Hiram R. Chirino [Mon, 30 Jan 2012 13:34:57 +0000 (13:34 +0000)] 
[maven-release-plugin]  copy for tag apollo-project-1.0

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/tags/apollo-project-1.0@1237646 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] prepare release apollo-project-1.0
Hiram R. Chirino [Mon, 30 Jan 2012 13:34:51 +0000 (13:34 +0000)] 
[maven-release-plugin] prepare release apollo-project-1.0

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237645 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPre for release.
Hiram R. Chirino [Mon, 30 Jan 2012 13:24:05 +0000 (13:24 +0000)] 
Pre for release.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237642 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-140 : CPU Spin state using SSL connection, connections not properly cleane...
Hiram R. Chirino [Mon, 30 Jan 2012 13:14:25 +0000 (13:14 +0000)] 
Fixes APLO-140 : CPU Spin state using SSL connection, connections not properly cleaned up.

By updating hawtdispatch version

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237640 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdating release notes.
Hiram R. Chirino [Mon, 30 Jan 2012 13:14:20 +0000 (13:14 +0000)] 
Updating release notes.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237639 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRevert the 1.0 RC release attempted.
Hiram R. Chirino [Mon, 30 Jan 2012 13:14:14 +0000 (13:14 +0000)] 
Revert the 1.0 RC release attempted.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237638 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRefactored the openwire command classes to replace String with UTF8Buffer to get...
Hiram R. Chirino [Mon, 30 Jan 2012 04:59:15 +0000 (04:59 +0000)] 
Refactored the openwire command classes to replace String with UTF8Buffer to get more efficient serialization/deserialization.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237540 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUse nicer variable names.
Hiram R. Chirino [Mon, 30 Jan 2012 00:54:46 +0000 (00:54 +0000)] 
Use nicer variable names.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237519 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAvoid doing reflection every time the openwire format version is changed. (Occurs...
Hiram R. Chirino [Mon, 30 Jan 2012 00:54:38 +0000 (00:54 +0000)] 
Avoid doing reflection every time the openwire format version is changed. (Occurs every time a message encoded to the message store.).

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237518 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAllow openwire messages to get persisted.
Hiram R. Chirino [Mon, 30 Jan 2012 00:45:31 +0000 (00:45 +0000)] 
Allow openwire messages to get persisted.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237514 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdding missing lic. headers.
Hiram R. Chirino [Sun, 29 Jan 2012 21:12:49 +0000 (21:12 +0000)] 
Adding missing lic. headers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237488 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-139 : Simplify the JSON encoding of the @class field.
Hiram R. Chirino [Sun, 29 Jan 2012 20:17:33 +0000 (20:17 +0000)] 
Fixes APLO-139 : Simplify the JSON encoding of the @class field.

Since the JSON schema changes a bit, the store store schema also needed to be incremented.  Renamed the JaxbModule and related classes/resource files to DtoModule stuff since the DTO objects are not necessarily tied down to Jaxb.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237449 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-144 : Display a warning about the Openwire protocol still being experiment...
Hiram R. Chirino [Sun, 29 Jan 2012 16:31:03 +0000 (16:31 +0000)] 
Fixes APLO-144 : Display a warning about the Openwire protocol still being experimental when it's first used.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237328 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-141 : The connection screen displays 'transport: tcp' even though the...
Hiram R. Chirino [Sun, 29 Jan 2012 15:57:06 +0000 (15:57 +0000)] 
Fixes APLO-141 : The connection screen displays 'transport: tcp' even though the connection came in over the tls port.

renamed the 'transport' field to 'connector' and now it's set to the id of the connector which created the connection.
Alos added a connection status HTML page for openwire and also provide the protocol session id in the connection status screens.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237319 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-142 : Java doc clean up for org.apache.activemq.apollo.dto
Hiram R. Chirino [Sun, 29 Jan 2012 15:14:08 +0000 (15:14 +0000)] 
Fixes APLO-142 : Java doc clean up for org.apache.activemq.apollo.dto

Contributed by Jason Sherman.  Thanks!

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237311 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-143 : Startup banner displays incorrectly if using a terminal with a white...
Hiram R. Chirino [Sun, 29 Jan 2012 15:13:58 +0000 (15:13 +0000)] 
Fixes APLO-143 : Startup banner displays incorrectly if using a terminal with a white background color scheme.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237310 13f79535-47bb-0310-9956-ffa450edef68

6 years agoWe always have to build the apollo-openwire-generate module now.
Hiram R. Chirino [Sat, 28 Jan 2012 16:46:52 +0000 (16:46 +0000)] 
We always have to build the apollo-openwire-generate module now.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237093 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdjust build so that openwire code generated files don't have to be checked into...
Hiram R. Chirino [Sat, 28 Jan 2012 16:29:07 +0000 (16:29 +0000)] 
Adjust build so that openwire code generated files don't have to be checked into source control.  Change interfaces to use DataByteArray(In|Out)putStream instead of Data(In|Out)put

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237090 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-137 : apollo script should echo usage when called with no arguments
Hiram R. Chirino [Sat, 28 Jan 2012 10:42:52 +0000 (10:42 +0000)] 
Fixes APLO-137 : apollo script should echo usage when called with no arguments

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237037 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-136: Broker complains when a dot is used in a dsub name
Hiram R. Chirino [Sat, 28 Jan 2012 10:28:38 +0000 (10:28 +0000)] 
Fixes APLO-136: Broker complains when a dot is used in a dsub name

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1237035 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-138 : examples java readme instructions were incorrect
Hiram R. Chirino [Fri, 27 Jan 2012 15:20:13 +0000 (15:20 +0000)] 
Fixes APLO-138 : examples java readme instructions were incorrect

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236714 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRename some bits to make it display nice.. Comment out failing cases for now.
Hiram R. Chirino [Fri, 27 Jan 2012 06:09:55 +0000 (06:09 +0000)] 
Rename some bits to make it display nice.. Comment out failing cases for now.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236539 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMake the itests module pure java. Simplify the base test class.
Hiram R. Chirino [Fri, 27 Jan 2012 05:46:58 +0000 (05:46 +0000)] 
Make the itests module pure java.  Simplify the base test class.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236538 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixing the protocol matching/identification logic for openwire.
Hiram R. Chirino [Fri, 27 Jan 2012 05:46:41 +0000 (05:46 +0000)] 
Fixing the protocol matching/identification logic for openwire.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236537 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTake openwire out of the unstable profile.
Hiram R. Chirino [Fri, 27 Jan 2012 02:12:46 +0000 (02:12 +0000)] 
Take openwire out of the unstable profile.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236493 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes the last failing openwire test.
Hiram R. Chirino [Fri, 27 Jan 2012 02:12:35 +0000 (02:12 +0000)] 
Fixes the last failing openwire test.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236492 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes the open wire wild card test.
Hiram R. Chirino [Fri, 27 Jan 2012 02:12:26 +0000 (02:12 +0000)] 
Fixes the open wire wild card test.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236491 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes the transaction test. On rollback the jms client introduces a 1 second delay.
Hiram R. Chirino [Fri, 27 Jan 2012 02:12:10 +0000 (02:12 +0000)] 
Fixes the transaction test.  On rollback the jms client introduces a 1 second delay.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236490 13f79535-47bb-0310-9956-ffa450edef68

6 years ago- Added ':' as a valid destination part value.
Hiram R. Chirino [Thu, 26 Jan 2012 22:46:12 +0000 (22:46 +0000)] 
- Added ':' as a valid destination part value.
- Temp destinations now check ownership against the a connection's session_id instead of the connection id (the session id is value assigned by the protocol).
- Updated the openwire protocol handler temp destination implementation to use the broker's temp destination features so that it can enforce security and the temp dest lifecycle.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236424 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRe-ran the openwire generator against all open wire versions.
Hiram R. Chirino [Thu, 26 Jan 2012 16:15:05 +0000 (16:15 +0000)] 
Re-ran the openwire generator against all open wire versions.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236269 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFinal generator tweaks.
Hiram R. Chirino [Thu, 26 Jan 2012 16:13:10 +0000 (16:13 +0000)] 
Final generator tweaks.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236268 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTweaks to the generators to get it to produce what apollo currently is using for...
Hiram R. Chirino [Thu, 26 Jan 2012 16:13:03 +0000 (16:13 +0000)] 
Tweaks to the generators to get it to produce what apollo currently is using for marshallers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1236267 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUse unix line endings
Hiram R. Chirino [Thu, 26 Jan 2012 00:06:20 +0000 (00:06 +0000)] 
Use unix line endings

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235994 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdd a customized apollo openwire generator.
Hiram R. Chirino [Thu, 26 Jan 2012 00:05:56 +0000 (00:05 +0000)] 
Add a customized apollo openwire generator.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235993 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove debugging print statement.
Hiram R. Chirino [Thu, 26 Jan 2012 00:05:41 +0000 (00:05 +0000)] 
Remove debugging print statement.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235992 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPick up pom version changes in unstable modules.
Hiram R. Chirino [Wed, 25 Jan 2012 06:01:00 +0000 (06:01 +0000)] 
Pick up pom version changes in unstable modules.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235635 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] prepare for next development iteration
Hiram R. Chirino [Wed, 25 Jan 2012 04:07:45 +0000 (04:07 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235627 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] copy for tag apollo-project-1.0
Hiram R. Chirino [Wed, 25 Jan 2012 04:07:40 +0000 (04:07 +0000)] 
[maven-release-plugin]  copy for tag apollo-project-1.0

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/tags/apollo-project-1.0@1235626 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] prepare release apollo-project-1.0
Hiram R. Chirino [Wed, 25 Jan 2012 04:07:35 +0000 (04:07 +0000)] 
[maven-release-plugin] prepare release apollo-project-1.0

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235625 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSupport using log files > 2GB also fixes Int rollover bug if a log file went longer...
Hiram R. Chirino [Wed, 25 Jan 2012 03:58:36 +0000 (03:58 +0000)] 
Support using log files > 2GB also fixes Int rollover bug if a log file went longer than 2GB.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235623 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRevert "[maven-release-plugin] prepare release apollo-project-1.0"
Hiram R. Chirino [Wed, 25 Jan 2012 03:55:42 +0000 (03:55 +0000)] 
Revert "[maven-release-plugin] prepare release apollo-project-1.0"

This reverts commit 11dcb38205ea1aba9e20ac5c16ebcfbebf6eef3d.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235621 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRevert "[maven-release-plugin] prepare for next development iteration"
Hiram R. Chirino [Wed, 25 Jan 2012 03:55:32 +0000 (03:55 +0000)] 
Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit fca277dadf5f3e845df70b274279ac9025d50073.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235620 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] prepare for next development iteration
Hiram R. Chirino [Wed, 25 Jan 2012 02:29:48 +0000 (02:29 +0000)] 
[maven-release-plugin] prepare for next development iteration

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235603 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] copy for tag apollo-project-1.0
Hiram R. Chirino [Wed, 25 Jan 2012 02:29:38 +0000 (02:29 +0000)] 
[maven-release-plugin]  copy for tag apollo-project-1.0

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/tags/apollo-project-1.0@1235602 13f79535-47bb-0310-9956-ffa450edef68

6 years ago[maven-release-plugin] prepare release apollo-project-1.0
Hiram R. Chirino [Wed, 25 Jan 2012 02:29:28 +0000 (02:29 +0000)] 
[maven-release-plugin] prepare release apollo-project-1.0

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235601 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdding missing lic. header.
Hiram R. Chirino [Wed, 25 Jan 2012 02:20:20 +0000 (02:20 +0000)] 
Adding missing lic. header.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235596 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRenamed the 'Unified Destination' feature and config option to 'Mirrored Queues'...
Hiram R. Chirino [Wed, 25 Jan 2012 02:18:20 +0000 (02:18 +0000)] 
Renamed the 'Unified Destination' feature and config option to 'Mirrored Queues' since that better describes what the feature is doing.  Updated documentation and listed it as feature in the release notes.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235595 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPreparing for the release. Tweaking poms and such.
Hiram R. Chirino [Wed, 25 Jan 2012 01:51:33 +0000 (01:51 +0000)] 
Preparing for the release.  Tweaking poms and such.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235593 13f79535-47bb-0310-9956-ffa450edef68

6 years agoremove empty directories
Hiram R. Chirino [Wed, 25 Jan 2012 01:36:03 +0000 (01:36 +0000)] 
remove empty directories

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235590 13f79535-47bb-0310-9956-ffa450edef68

6 years agoremove empty directories
Hiram R. Chirino [Wed, 25 Jan 2012 01:35:25 +0000 (01:35 +0000)] 
remove empty directories

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235589 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPreping for a 1.0 release.
Hiram R. Chirino [Wed, 25 Jan 2012 01:26:51 +0000 (01:26 +0000)] 
Preping for a 1.0 release.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235588 13f79535-47bb-0310-9956-ffa450edef68

6 years agoThe pure java LevelDB impl on windows still needs more validation
Hiram R. Chirino [Wed, 25 Jan 2012 01:09:11 +0000 (01:09 +0000)] 
The pure java LevelDB impl on windows still needs more validation

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235586 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixed generated config files on windows so that they use windows line endings
Hiram R. Chirino [Wed, 25 Jan 2012 01:09:00 +0000 (01:09 +0000)] 
Fixed generated config files on windows so that they use windows line endings

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235585 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSmall tweaks
Hiram R. Chirino [Tue, 24 Jan 2012 23:07:56 +0000 (23:07 +0000)] 
Small tweaks

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235540 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixing async send with no consumers performance regression
Hiram R. Chirino [Tue, 24 Jan 2012 20:33:19 +0000 (20:33 +0000)] 
Fixing async send with no consumers performance regression

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235478 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMake sure the snappy java libs are included in the distro, also update the NOITCE...
Hiram R. Chirino [Tue, 24 Jan 2012 20:33:05 +0000 (20:33 +0000)] 
Make sure the snappy java libs are included in the distro, also update the NOITCE file about those additional deps

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235477 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-131 - Stores should track "storage schema version number" to detect when...
Hiram R. Chirino [Tue, 24 Jan 2012 19:21:05 +0000 (19:21 +0000)] 
Fixes APLO-131 - Stores should track "storage schema version number" to detect when the store is incompatible with a new broker version.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235427 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdded better labels to the level db log status report
Hiram R. Chirino [Tue, 24 Jan 2012 18:37:02 +0000 (18:37 +0000)] 
Added better labels to the level db log status report

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235402 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemoved stale debug messages and a couple if fixes to consumer shutdown.
Hiram R. Chirino [Tue, 24 Jan 2012 18:30:42 +0000 (18:30 +0000)] 
Removed stale debug messages and a couple if fixes to consumer shutdown.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235399 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-132 : Disabled the buffer bypassing optimization for now, was causing...
Hiram R. Chirino [Tue, 24 Jan 2012 18:30:29 +0000 (18:30 +0000)] 
Fixes APLO-132 : Disabled the buffer bypassing optimization for now, was causing 256k stomp-benchmark scenarios to break.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235398 13f79535-47bb-0310-9956-ffa450edef68

6 years agomake sure we test durable subs against BDB too.
Hiram R. Chirino [Tue, 24 Jan 2012 16:58:27 +0000 (16:58 +0000)] 
make sure we test durable subs against BDB too.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235357 13f79535-47bb-0310-9956-ffa450edef68

6 years agoImplemented more robust session closing log on queues and consumers so that when...
Hiram R. Chirino [Tue, 24 Jan 2012 16:58:16 +0000 (16:58 +0000)] 
Implemented more robust session closing log on queues and consumers so that when a queue or consumer is stopped, any inflight messages on it's session are drained and Nacked.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235356 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMake the waiting_on variable be a callback function to avoid constructing the waiting...
Hiram R. Chirino [Tue, 24 Jan 2012 16:58:04 +0000 (16:58 +0000)] 
Make the waiting_on variable be a callback function to avoid constructing the waiting on status string every time the wait status changes.  The string only needs to be constructed when the management APIs poll the status of the connection.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235355 13f79535-47bb-0310-9956-ffa450edef68

6 years agoProvide nicer consumer labels in the management interface.
Hiram R. Chirino [Tue, 24 Jan 2012 16:57:57 +0000 (16:57 +0000)] 
Provide nicer consumer labels in the management interface.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235354 13f79535-47bb-0310-9956-ffa450edef68

6 years agoThe DelayingStoreSupport class now does better state tracking of the UoWs that it...
Hiram R. Chirino [Tue, 24 Jan 2012 06:12:20 +0000 (06:12 +0000)] 
The DelayingStoreSupport class now does better state tracking of the UoWs that it processes.  Fixes bugs that would occur when UoWs would get canceled.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235138 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove debugging println.
Hiram R. Chirino [Mon, 23 Jan 2012 22:23:05 +0000 (22:23 +0000)] 
Remove debugging println.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1235035 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDisplay the topic enqueue and dequeue counters.
Hiram R. Chirino [Mon, 23 Jan 2012 02:20:40 +0000 (02:20 +0000)] 
Display the topic enqueue and dequeue counters.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234671 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBe a little less eager about swapping out message entries.
Hiram R. Chirino [Sun, 22 Jan 2012 14:43:08 +0000 (14:43 +0000)] 
Be a little less eager about swapping out message entries.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234518 13f79535-47bb-0310-9956-ffa450edef68

6 years agoEnhance UoW canceling support.
Hiram R. Chirino [Sun, 22 Jan 2012 14:43:00 +0000 (14:43 +0000)] 
Enhance UoW canceling support.
UoW's could queue up if the DB backed up storing them.  This change allows more of those queued UoW to get canceled before they get sent to the DB to be stored.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234517 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes needed to make the LevelDB and BDB store export formats compatible.
Hiram R. Chirino [Sat, 21 Jan 2012 22:34:53 +0000 (22:34 +0000)] 
Fixes needed to make the LevelDB and BDB store export formats compatible.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234435 13f79535-47bb-0310-9956-ffa450edef68

6 years agoYou can now use --log=DEBUG before an apollo cli sub command to enable debug logging...
Hiram R. Chirino [Sat, 21 Jan 2012 22:34:37 +0000 (22:34 +0000)] 
You can now use --log=DEBUG before an apollo cli sub command to enable debug logging to the console.  Also use System.exit to make sure we exit even if there are non-daemon threads that got started.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234434 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSwitch from using zip to tar for the store export/imports files since zip files have...
Hiram R. Chirino [Sat, 21 Jan 2012 22:34:28 +0000 (22:34 +0000)] 
Switch from using zip to tar for the store export/imports files since zip files have a 4GB size limit.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234433 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAPLO-133 - Fixing LevelDB Store import/export not working
Hiram R. Chirino [Sat, 21 Jan 2012 17:13:57 +0000 (17:13 +0000)] 
APLO-133 - Fixing LevelDB Store import/export not working

Simplified the import/export store api by removing the use of continuations.
The export/import files now store version info so that an import know what schema was used to export the data.  Related to APLO-131

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234369 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDrop the cassandra, jdbm2, and hawtdb store implementations. They were experimental...
Hiram R. Chirino [Sat, 21 Jan 2012 17:13:21 +0000 (17:13 +0000)] 
Drop the cassandra, jdbm2, and hawtdb store implementations.  They were experimental and at this point keeping them is just increasing the maintenance burden required when the store interfaces need to be updated.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234368 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAPLO-135 - Add example to the distro that shows how you can boot up an embedded broke...
Hiram R. Chirino [Sat, 21 Jan 2012 15:29:16 +0000 (15:29 +0000)] 
APLO-135 - Add example to the distro that shows how you can boot up an embedded broker in a Java app.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234346 13f79535-47bb-0310-9956-ffa450edef68

6 years agoLevelDB Store import/export not working.
Hiram R. Chirino [Sat, 21 Jan 2012 15:28:59 +0000 (15:28 +0000)] 
LevelDB Store import/export not working.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234345 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpgrade to the new leveldb 0.2 release and the latest stompjms release.
Hiram R. Chirino [Sat, 21 Jan 2012 04:21:17 +0000 (04:21 +0000)] 
Upgrade to the new leveldb 0.2 release and the latest stompjms release.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234264 13f79535-47bb-0310-9956-ffa450edef68

6 years agoWhen a queue is being stopped, make sure you wait for any in flight message store...
Hiram R. Chirino [Sat, 21 Jan 2012 04:21:11 +0000 (04:21 +0000)] 
When a queue is being stopped, make sure you wait for any in flight message store operations to complete before reporting the queue has been stopped.

This avoids an ordering issue where a queue could get deleted from a store but then queue store operations are performed later.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234263 13f79535-47bb-0310-9956-ffa450edef68

6 years agoStore interface changes to better support the LevelDB store.
Hiram R. Chirino [Sat, 21 Jan 2012 04:21:03 +0000 (04:21 +0000)] 
Store interface changes to better support the LevelDB store.

- Changed the store interface so that the locator is an AtomicReference[Object] to avoid forcing store to serialize their locators if they don't want to.
- The QueueEntryRecords now holds an AtomicReference to the locator so that it matches MessageRecord.
- The LevelDB based store now exclusively looks up message payloads using locators.
- Eliminated the msg_key -> log  index entry per enqueued message.
- The LevelDB store is now avoiding many of the implicit conversions that the PBSupport class was performing.
- Updated the base Store Test case so that it use locators as it's now required for LevelDB.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234262 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-134 : LevelDB store should use a file lock so a broker instance get exclus...
Hiram R. Chirino [Fri, 20 Jan 2012 18:52:46 +0000 (18:52 +0000)] 
Fixes APLO-134 : LevelDB store should use a file lock so a broker instance get exclusive access to the store data.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234067 13f79535-47bb-0310-9956-ffa450edef68

6 years agoIf the paranoid_checks option is true, double check the integrity of the index and...
Hiram R. Chirino [Fri, 20 Jan 2012 18:52:37 +0000 (18:52 +0000)] 
If the paranoid_checks option is true, double check the integrity of the index and correct any inconsistencies.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234066 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixing auto delete logic for queues. Bring down that default auto delete time to...
Hiram R. Chirino [Fri, 20 Jan 2012 16:53:51 +0000 (16:53 +0000)] 
Fixing auto delete logic for queues.  Bring down that default auto delete time to 30 seconds.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1234000 13f79535-47bb-0310-9956-ffa450edef68

6 years agoError would occur if you tried to delete a dsub from the web admin screen.
Hiram R. Chirino [Fri, 20 Jan 2012 16:53:42 +0000 (16:53 +0000)] 
Error would occur if you tried to delete a dsub from the web admin screen.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233999 13f79535-47bb-0310-9956-ffa450edef68

6 years agoleveldb would not GC log files if you deleted a queue via admin screen (ref counting...
Hiram R. Chirino [Fri, 20 Jan 2012 16:53:30 +0000 (16:53 +0000)] 
leveldb would not GC log files if you deleted a queue via admin screen (ref counting error on recovery).

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233998 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdate the store interface so that you know if a message store was canceled, that...
Hiram R. Chirino [Fri, 20 Jan 2012 04:54:30 +0000 (04:54 +0000)] 
Update the store interface so that you know if a message store was canceled, that way we don't add to the swapped out counter on a queue if a swap out gets canceled.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233768 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-130 : Allow acquired queue entries to get swapped. This is especially...
Hiram R. Chirino [Fri, 20 Jan 2012 04:54:22 +0000 (04:54 +0000)] 
Fixes APLO-130 : Allow acquired queue entries to get swapped. This is especially handy if the entry was already persisted anyways.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233767 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdate and document the default flush delay to be 500 ms.
Hiram R. Chirino [Fri, 20 Jan 2012 04:54:11 +0000 (04:54 +0000)] 
Update and document the default flush delay to be 500 ms.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233766 13f79535-47bb-0310-9956-ffa450edef68

6 years agoLog duration and number of records that we replaying during store recovery in case...
Hiram R. Chirino [Fri, 20 Jan 2012 04:53:58 +0000 (04:53 +0000)] 
Log duration and number of records that we replaying during store recovery in case a long startup occurs.  Also record an end of unit of work record so that we don't try to recover partial UoWs.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233765 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes issue where message could get 'stuck' on the queue. Also make sure that the...
Hiram R. Chirino [Fri, 20 Jan 2012 00:38:41 +0000 (00:38 +0000)] 
Fixes issue where message could get 'stuck' on the queue.  Also make sure that the msg seq field is set on the Delivery object when it's get reloaded from the DB.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233706 13f79535-47bb-0310-9956-ffa450edef68

6 years agoImprove the accuracy of swapped in tracking.
Hiram R. Chirino [Fri, 20 Jan 2012 00:38:29 +0000 (00:38 +0000)] 
Improve the accuracy of swapped in tracking.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233705 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFolks usually think 2G == Int.MaxValue anyways lets be nice and auto convert.
Hiram R. Chirino [Thu, 19 Jan 2012 17:33:23 +0000 (17:33 +0000)] 
Folks usually think 2G == Int.MaxValue anyways lets be nice and auto convert.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233495 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRemove un-needed assertion code.
Hiram R. Chirino [Thu, 19 Jan 2012 05:32:25 +0000 (05:32 +0000)] 
Remove un-needed assertion code.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233184 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-127: Refactored the LocalRouter implementation so that the durable sub...
Hiram R. Chirino [Thu, 19 Jan 2012 05:16:15 +0000 (05:16 +0000)] 
Fixes APLO-127: Refactored the LocalRouter implementation so that the durable sub logic in the topic domain is now maintained in a dsub domain.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233181 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSome follow on work for APLO-128, improve the syncronization used by the log impl...
Hiram R. Chirino [Thu, 19 Jan 2012 05:15:52 +0000 (05:15 +0000)] 
Some follow on work for APLO-128, improve the syncronization used by the log impl and use better defaults

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233180 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-128 : Simplify the leveldb-store's log record format so that every record...
Hiram R. Chirino [Thu, 19 Jan 2012 00:59:10 +0000 (00:59 +0000)] 
Fixes APLO-128 : Simplify the leveldb-store's log record format so that every record has a checksum which can be used to quickly validate all read data in case your paranoid about data corruption in your FS.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1233145 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes APLO-126 : Deprecate the JDBM2 store as the leveldb store is faster and more...
Hiram R. Chirino [Tue, 17 Jan 2012 21:03:48 +0000 (21:03 +0000)] 
Fixes APLO-126 : Deprecate the JDBM2 store as the leveldb store is faster and more stable.

Also remove the apollo-karaf-feature as that is not well maintained.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1232572 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFinish up APLO-118: All configuration attributes which configure memory/disk usage...
Hiram R. Chirino [Tue, 17 Jan 2012 20:36:54 +0000 (20:36 +0000)] 
Finish up APLO-118: All configuration attributes which configure memory/disk usage sizes should support values like "1k" "2G" etc.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1232563 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTweak the repos so that the leveldb snpshots can be found
Hiram R. Chirino [Mon, 16 Jan 2012 22:33:48 +0000 (22:33 +0000)] 
Tweak the repos so that the leveldb snpshots can be found

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1232200 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFix int rollover bug causing the benchmark to hang on warm ups >= 2GB
Hiram R. Chirino [Mon, 16 Jan 2012 21:32:20 +0000 (21:32 +0000)] 
Fix int rollover bug causing the benchmark to hang on warm ups >= 2GB

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1232173 13f79535-47bb-0310-9956-ffa450edef68

6 years agoSwitch to the lastest leveldb snapshot as that helps resolve lots of issues on window...
Hiram R. Chirino [Mon, 16 Jan 2012 20:57:20 +0000 (20:57 +0000)] 
Switch to the lastest leveldb snapshot as that helps resolve lots of issues on windows.  Also fallback to using JNA based hardlink system calls as the speeds up links on windows.

git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk@1232161 13f79535-47bb-0310-9956-ffa450edef68