Commit Graph

4384 Commits

Author SHA1 Message Date
Claus Ibsen 9e94ee40a2 AMQ-3723: Upgraded to xbean 3.12
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398643 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 04:53:46 +00:00
Timothy A. Bish f1c4a32017 Remove the System.out lines from the test, use LOG instead.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398419 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 17:46:54 +00:00
Gary Tully 0a5ce71f6f https://issues.apache.org/jira/browse/AMQ-4103 - LeaseDatabaseLocker can not be changed from 5 sec poll - fix with test, default value now 10s to be consistent with other lockers and is also configurable. regression from https://issues.apache.org/jira/browse/AMQ-4005
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1398238 13f79535-47bb-0310-9956-ffa450edef68
2012-10-15 10:38:59 +00:00
Timothy A. Bish 8af1df7aea fix for: https://issues.apache.org/jira/browse/AMQ-4095
Add check null on engine. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396975 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 10:22:46 +00:00
Timothy A. Bish 72eb191b74 fix for: https://issues.apache.org/jira/browse/AMQ-4095
Need to wrap the next batch of data once the initial wrapped packet buffer is exhausted. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396846 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 22:55:21 +00:00
Gary Tully 56a61c7c15 fix dry exclusion config, override default merge with append for the excludes so the are additive for the two profiles in use
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1396518 13f79535-47bb-0310-9956-ffa450edef68
2012-10-10 09:25:17 +00:00
Gary Tully 84ba54b24f move fast, all and broken test exclusions to profiles so that exclusions are merged correctly. revert to surefire 2.10 pending fix for http://jira.codehaus.org/browse/SUREFIRE-913. To run all tests use: -Dactivemq.tests=all
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395978 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:49:17 +00:00
Gary Tully 486e6374f2 remove unnecessary cast that limits locker impls
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395977 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:48:46 +00:00
Bosanac Dejan cc95295139 https://issues.apache.org/jira/browse/AMQ-4100 - clean on websocket close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395976 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:40:39 +00:00
Claus Ibsen ddda4004b4 AMQ-1492: Allow to configure whether changing auto commit is allowed on JDBC persistence adapter. Some JDBC drivers dont allow changing that.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395278 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 11:56:07 +00:00
Claus Ibsen 229c634a83 AMQ-1719: Avoid potential NPE in connection state tracker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1395272 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 10:51:52 +00:00
Gary Tully 7db7ed130b revert the change to defalut included for surefire, there are a bunch of non tests in there. *Test.* is needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394734 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:05:28 +00:00
Gary Tully b24dfb908b https://issues.apache.org/jira/browse/AMQ-4094 - offline durable subs with selectors can lead to page leaks in the index and bloat of db.data in kahadb - fix up page caching on overflow and btree free on remove. test that validates the inuse page count for specific intervals
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394733 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:04:59 +00:00
Gary Tully a5eb7c6fa2 polish: some typos
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1394732 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 19:04:18 +00:00
Bosanac Dejan 205699e11e https://issues.apache.org/jira/browse/AMQ-3851 - refactor AuthorizationBroker so that addDestinationInfo is properly handled
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393988 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 11:09:21 +00:00
Gary Tully 62bcbaa5d0 ensure slow-tests profile overrides excludes and runs all tests - duplicate the config in that profile, so order is the same etc; don't see another way atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393443 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 11:53:33 +00:00
Gary Tully c5421f9095 remove dud import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393178 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:58:49 +00:00
Gary Tully 1005fc5062 https://issues.apache.org/jira/browse/AMQ-4091 - apply destination policy to temp topics, allows a memory limit to be specified to partition temp dest usage and enable producer flow control
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1393174 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:51:00 +00:00
Bosanac Dejan 0b0ed9f84d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392979 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 15:37:31 +00:00
Bosanac Dejan e396468d9b [maven-release-plugin] prepare release activemq-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392977 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 15:37:00 +00:00
Bosanac Dejan 16dc729163 [maven-release-plugin] rollback the release of activemq-parent-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392968 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 15:24:44 +00:00
Bosanac Dejan c479df0679 [maven-release-plugin] prepare release activemq-parent-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392966 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 15:20:57 +00:00
Gary Tully a625f7ab94 add verification of blocking via full advisory - odd that advisory arrives late, hmm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392945 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:55:03 +00:00
Bosanac Dejan c83b70c3cd [maven-release-plugin] rollback the release of activemq-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392935 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:44:05 +00:00
Bosanac Dejan f2af2c9187 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392933 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:40:11 +00:00
Bosanac Dejan 07bed31f7b [maven-release-plugin] prepare release activemq-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392929 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:34:36 +00:00
Bosanac Dejan 798437773a rolling back version because of failed release:perform
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392924 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:22:49 +00:00
Bosanac Dejan 5094609ec5 [maven-release-plugin] prepare release activemq-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392921 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:16:05 +00:00
Bosanac Dejan 3576fbe97a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392876 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 12:09:24 +00:00
Bosanac Dejan 02b2ba294e [maven-release-plugin] prepare release activemq-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392874 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 12:08:45 +00:00
Bosanac Dejan a8d364d030 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392269 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 10:39:07 +00:00
Bosanac Dejan a97f821869 [maven-release-plugin] prepare release activemq-5.7.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1392267 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 10:38:35 +00:00
Timothy A. Bish a80acbb1ad Polish the code, remove warnings fix spelling errors in the docs, add some new javadocs, etc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1391682 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 22:19:20 +00:00
Gary Tully 0a7c5dc93a https://issues.apache.org/jira/browse/AMQ-2106 - Allow broker to evenly distribute message groups among consumers - have consumer order take number of assigned groups into account, such that priority is given to the least loaded consumers. When groups change frequently or are suspended this allows better distribution. When new consumer arrive they now have a good chance of getting the next available groups
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1391661 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 21:13:59 +00:00
Gary Tully 591c1a549c ensure async dispatches temp advisory is present before verfication of temp usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1391392 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 10:48:22 +00:00
Gary Tully 746585e8d7 add validation of request/reply over network with temp topic replyto, fine with duplex network connectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1391204 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 20:43:03 +00:00
Gary Tully f37fc74822 move http network test to options module so it can be run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1391203 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 20:42:28 +00:00
Timothy A. Bish 8a75d960d5 fix and tests for: https://issues.apache.org/jira/browse/AMQ-4083
Revert previous fix.  We need to ack each expired message when we detect and not overload the usage of delivered acks for extending the prefetch window.  The problem was an edge case where the broker detected a message as expired after the client had delivered it but before it ack'd it as consumed.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1391152 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 18:17:47 +00:00
Gary Tully 3f49df7d70 fix typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1390931 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 10:28:20 +00:00
Timothy A. Bish c02acbd3d4 fix and tests for: https://issues.apache.org/jira/browse/AMQ-4083
Ensure that client ack mode sends acks for expired messages.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1390710 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 19:59:36 +00:00
Bosanac Dejan f49675bfa2 https://issues.apache.org/jira/browse/AMQ-3887 - do safeWaitUntilStarted outside of the synchronized block as deadlocks are possible
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1390473 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 13:29:16 +00:00
Gary Tully b469638171 fix up assembly xml configuration validtion tests - have them run by default. Pull out osgi isms to separate hook and add shutdown hook when jetty.xml is included so that it is shutdown on broker stop. Fix problems with the xml eposed by the tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1390204 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 22:52:28 +00:00
Timothy A. Bish 8dc1c1240b fix for: https://issues.apache.org/jira/browse/AMQ-4062
Durable consumer should be configured with the policyEntry configuration on activate. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1390193 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 22:21:44 +00:00
Hiram R. Chirino 4051799a6d More work for AMQ-4080: Include the activemq-leveldb module in the assembly, don't use the fusesource leveldb module anymore.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1389892 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 14:50:15 +00:00
Hiram R. Chirino b20d5411d1 Fixes AMQ-4080: Integrate the Fusesource LevelDB module into the ActiveMQ build.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1389882 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 14:32:28 +00:00
Gary Tully c50c1f5dad https://issues.apache.org/jira/browse/AMQ-4076 https://issues.apache.org/jira/browse/AMQ-498 - default to unlimited maxFrameSize - explicit limits in the xml config with DOS comment
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1389817 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 11:37:59 +00:00
Bosanac Dejan 5aed30d5df removing activemq-version pom variable and using project.version directly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1389803 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 11:12:45 +00:00
Bosanac Dejan fa29678c54 https://issues.apache.org/jira/browse/AMQ-3918 - don't bind http based transports to local host name and do better url registering
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1389776 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 09:44:20 +00:00
Claus Ibsen 08185743c1 AMQ-4069: Upgraded maven plugin versions to latest releases.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1388390 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 09:35:01 +00:00
Claus Ibsen 0147739360 Added missing license header. More exclude to rat plugin.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1388354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 07:36:48 +00:00