Commit Graph

4175 Commits

Author SHA1 Message Date
Timothy A. Bish a3836b562d fix for: https://issues.apache.org/jira/browse/AMQ-3224
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356927 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:45:12 +00:00
Timothy A. Bish bb1e246c1b The start time needs to be set before stopping broker1 in order to account for context switching that can cause the failover process to start before the current call to track the failover start time.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356868 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 19:04:49 +00:00
Gary Tully ae816dcb3f https://issues.apache.org/jira/browse/AMQ-3912 - Durable subs store messages in error with broker attribute persistent="false" - fix with test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356724 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 13:31:32 +00:00
Timothy A. Bish ae5bd2ec3c fix and tests for: https://issues.apache.org/jira/browse/AMQ-3909
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356431 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:36:24 +00:00
Timothy A. Bish e0d264181f fix fore: https://issues.apache.org/jira/browse/AMQ-3908
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:12:01 +00:00
Timothy A. Bish 1e18cf2d71 Adds a method to allow for sending a receipt on disconnect send.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355553 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 20:26:32 +00:00
Timothy A. Bish b7a1883b4b fix and tests for: https://issues.apache.org/jira/browse/AMQ-3897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355183 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 22:20:09 +00:00
Gary Tully e900fb41db AMQ-3872 AMQ-3305 - deal with redelivery of acked messages pending transaction completion, getting dropped by subscriptions, invisible till broker restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354449 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 11:53:58 +00:00
Gary Tully 551efc90ec speed up and ensure test works on virtualised/slow hw - ie: ci
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354448 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 11:53:22 +00:00
Timothy A. Bish f90e6b9b6d apply patch for: https://issues.apache.org/jira/browse/AMQ-3900
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354291 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 23:40:59 +00:00
Timothy A. Bish 3813947879 fix and test for: https://issues.apache.org/jira/browse/AMQ-3846
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354270 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:20:51 +00:00
Timothy A. Bish 41c93667dc fix for: https://issues.apache.org/jira/browse/AMQ-3787
Adds support for setting useCompression on NetworkConnectors to enforce that all messages forwarded across the network are compressed.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1353042 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 21:53:01 +00:00
Gary Tully 60624c4e38 fix up destination statistics for recovered transactions, pending adds are not visible, but pending acks are still accounted for in the messages count, commit/rollback updates enqueues/dequeues/messages as expected - https://issues.apache.org/jira/browse/AMQ-3872, https://issues.apache.org/jira/browse/AMQ-3305 - both kahadb and jdbc suffered
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1353024 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 20:43:24 +00:00
Timothy A. Bish 11497e9e98 apply patch for: https://issues.apache.org/jira/browse/AMQ-3896
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352984 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 18:03:33 +00:00
Timothy A. Bish bd31548920 fix for: https://issues.apache.org/jira/browse/AMQ-3895
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352933 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 15:40:03 +00:00
Gary Tully ac8c8d1bc9 implement https://issues.apache.org/jira/browse/AMQ-3894 - broker based redelivery via schedular resend and a per destination redelivery policy, plugin and tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352902 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 14:31:40 +00:00
Gary Tully 044b11918a AMQ-3014 remove hardcoded port 50000
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352487 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 10:11:22 +00:00
Timothy A. Bish 7fbbcf3565 fix for: https://issues.apache.org/jira/browse/AMQ-3887
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352137 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 14:56:38 +00:00
Gary Tully 32d3fd51b4 https://issues.apache.org/jira/browse/AMQ-1885 - make tests more deterministic, ensure ioexception handler is used with lease locker to avoid contending masters, the resumption after an error is dependent on a keepAlive win, so the lease expiry tests w/o the io handler is invalid
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 14:14:33 +00:00
Timothy A. Bish f3d84aeb1a Don't use fixed ports for broker instances, let the connector find an open port.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352103 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:56:31 +00:00
Timothy A. Bish e2e71eb3ca Don't use fixed ports for broker instances, let the connector find an open port.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352081 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:08:10 +00:00
Timothy A. Bish 482be54f82 apply fix for: https://issues.apache.org/jira/browse/AMQ-3889
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1351743 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 15:32:32 +00:00
Timothy A. Bish e0bb36b4b7 fix and test for: https://issues.apache.org/jira/browse/AMQ-3873
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350657 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 15:35:04 +00:00
Timothy A. Bish bf1f755299 fix for: https://issues.apache.org/jira/browse/AMQ-3882
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350425 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 23:27:25 +00:00
Gary Tully 6f2c998b4d https://issues.apache.org/jira/browse/AMQ-3654 - tidy up logging and by default assume no adjust for out of sync system clocks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350029 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:43:21 +00:00
Gary Tully e32d6f6645 add autofail as mqtttest seems to hang ci build in jenkins atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350016 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:04:28 +00:00
Gary Tully dc258ab2ae https://issues.apache.org/jira/browse/AMQ-3654 - JDBC Master/Slave : Slave cannot acquire lock when the master loose database connection. Adding an leasebasedlocker that can survive db disconnect, and jdbcioexceptionhandler that will pause/resume transports on db outage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350006 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 20:45:10 +00:00
Bosanac Dejan 9bf65b4f09 https://issues.apache.org/jira/browse/AMQ-3845 - sync test case is now fixed as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349719 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 10:13:09 +00:00
Bosanac Dejan b067a65444 https://issues.apache.org/jira/browse/AMQ-3845 - make test (and map) work better on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349713 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 09:53:13 +00:00
Timothy A. Bish ccf601e4e4 New feature and test for: https://issues.apache.org/jira/browse/AMQ-3878
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349585 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 23:38:40 +00:00
Timothy A. Bish 59b38fcc43 fix for: https://issues.apache.org/jira/browse/AMQ-3879
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349582 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 23:06:59 +00:00
Timothy A. Bish ba4a9ed841 fix for: https://issues.apache.org/jira/browse/AMQ-3828
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349527 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 21:09:37 +00:00
Timothy A. Bish 4bba15a763 fix for: https://issues.apache.org/jira/browse/AMQ-3852
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349383 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 14:52:47 +00:00
Timothy A. Bish a307c57e98 Adds a little test to show that messages cross the network bridge that are sent compressed remain compressed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349030 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 21:41:21 +00:00
Timothy A. Bish 4a7f870593 Test can fail on slower machines, give it a bit more time and improve the assert output.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348983 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:43:52 +00:00
Bosanac Dejan cfd28536b9 https://issues.apache.org/jira/browse/AMQ-3845 - exclude assertion in sync case as ldap connection close time is unpredictable
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348885 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 14:58:28 +00:00
Gary Tully c1fbf53b72 https://issues.apache.org/jira/browse/AMQ-3845 - increase the refresh rate in the test for slower machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348880 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 14:52:17 +00:00
Bosanac Dejan 06949a5074 https://issues.apache.org/jira/browse/AMQ-3845 - handle LDAP restarts in cached ldap authorization map
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348761 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 09:24:51 +00:00
Timothy A. Bish 21a0465448 fix build issue with some Generic types.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348483 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 18:53:25 +00:00
Timothy A. Bish 691c70d3ea Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348352 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 10:40:52 +00:00
Timothy A. Bish 584c133e9d fix for: https://issues.apache.org/jira/browse/AMQ-3877
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348270 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 22:56:35 +00:00
Timothy A. Bish 06a42763c5 On a loaded or very slow machine these can fail without a bit more time on the timeout. Was able to reproduce locally with video encoders running.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347824 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 22:59:47 +00:00
Bosanac Dejan 0a8e505b14 https://issues.apache.org/jira/browse/AMQ-3770 - ldap group expansion
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347649 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:46:27 +00:00
Gary Tully c0a8060ef6 deal with possible null when text marshalled via xstream as munged ctr is used which bypasses default init
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347621 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:02:00 +00:00
Bosanac Dejan 1f862ba3cd https://issues.apache.org/jira/browse/AMQ-3791 - CachedLDAPAuthorizationMap improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347580 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 11:58:40 +00:00
Gary Tully 279ecfcd6d ignore the mqttssl test till it gets some love, it hangs the nigtly run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346818 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:48:03 +00:00
Gary Tully 3adee8c076 https://issues.apache.org/jira/browse/AMQ-3872 - avoid property syntax for internal accessor to ensure property equality after seriaization in generated marshalling tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346813 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:29:35 +00:00
Gary Tully b07f31ebc6 https://issues.apache.org/jira/browse/AMQ-3305 and https://issues.apache.org/jira/browse/AMQ-3872 - fix up durable subs with xa recovery for kahadb and tidy up test assumptions re redelivery for jdbc. Shared tests pass with both stores now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346594 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:13:34 +00:00
Gary Tully f0d0ce07ab https://issues.apache.org/jira/browse/AMQ-3288 - fix over flow to negative on signed int accumulator, would break priority message deletion
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346401 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 14:48:17 +00:00
Gary Tully 64f3492c85 https://issues.apache.org/jira/browse/AMQ-3872 - Implement "exactly once" delivery with JDBC and XA in the event of a failure post prepare. jdbc xa is not a runner due to single table and update locks. implemention adds xid column to messages and acks table. a non null value indicated a prepared add/ack, so the insert is done on prepare. the result of the transaction outcome requires a row level update
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1345202 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 14:32:50 +00:00