Commit Graph

6133 Commits

Author SHA1 Message Date
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
Robert Davies b6fba238bb patch applied for https://issues.apache.org/jira/browse/AMQ-3867
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348150 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 16:52:39 +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
Bosanac Dejan 15f85cd768 https://issues.apache.org/jira/browse/AMQ-2868 - optimize code a bit now that we don't have a sync
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1345034 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 09:51:48 +00:00
Bosanac Dejan 6d041dc2a5 https://issues.apache.org/jira/browse/AMQ-2868 - remove sync on memoery transaction store tx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1345023 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 09:14:28 +00:00
Timothy A. Bish b41b7cc8ba apply fix for: https://issues.apache.org/jira/browse/AMQ-3865
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344911 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 21:07:15 +00:00
Timothy A. Bish 3c1b477523 apply patch for: https://issues.apache.org/jira/browse/AMQ-3857
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344907 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 20:57:32 +00:00
Timothy A. Bish eb887f1545 fix for: https://issues.apache.org/jira/browse/AMQ-3836
Make a best effort to find the correct destination name even if space padded before falling back to the fallback conversion config. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344894 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 20:26:28 +00:00
Timothy A. Bish fd37e8c883 fix for: https://issues.apache.org/jira/browse/AMQ-3871
Fix the addMessageFirst and values methods in OrderedPendingList and add tests for both OrderedPendingList and PrioritizedPendingList along with a test case to show the bad behavior for re-delivered in-flight non-persistent messages with durable subscribers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344842 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 18:14:07 +00:00
Timothy A. Bish 30f677e56a Fix for: https://issues.apache.org/jira/browse/AMQ-3841
Make the call to adapter.getDestinations() only once.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344778 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 15:34:59 +00:00
Timothy A. Bish 7504bc7a01 apply additional fix and unit test for: https://issues.apache.org/jira/browse/AMQ-3856
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1343742 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 14:20:44 +00:00
Robert Davies 4d43c74fd2 include mqtt tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1343257 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 13:46:14 +00:00
Bosanac Dejan d1aeb04fc6 https://issues.apache.org/jira/browse/AMQ-3863 - xa session pooling problem
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1343171 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 09:28:18 +00:00
Timothy A. Bish afcbc4e5a3 Add tests for Websockets using selenium
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1342813 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 21:07:52 +00:00
Timothy A. Bish a1b235d275 fix for: https://issues.apache.org/jira/browse/AMQ-3856
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1342618 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 13:31:58 +00:00
Timothy A. Bish d44513a655 fix for: https://issues.apache.org/jira/browse/AMQ-3669
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1342028 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 20:27:23 +00:00
Gary Tully 8b2875e19e https://issues.apache.org/jira/browse/AMQ-3858 fix npe on not found vvm jmx url
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341945 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:41:55 +00:00
Robert Davies 144dda0308 Additional fixes for https://issues.apache.org/jira/browse/AMQ-3855 - timing issue in adding wildcard subscriptions can result in duplicate messages sent to MQTT
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341820 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 10:25:34 +00:00
Bosanac Dejan 1b28cf1792 https://issues.apache.org/jira/browse/AMQ-3853 - activemq-web-console osgi import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341810 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 09:42:39 +00:00
Timothy A. Bish bed24fabd9 Fix for: https://issues.apache.org/jira/browse/AMQ-3841
Ensure that the mKahaDB cleans up the per-destination kahaDB data when the destination is deleted, and don't throw exceptions in cases where we find an older one that has no destinations in it any longer.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341601 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 19:47:23 +00:00
Robert Davies db5798d9cc Update MQTT client library to 1.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341527 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:25:16 +00:00
Robert Davies 1e3ea5c9c5 Fix for https://issues.apache.org/jira/browse/AMQ-3855
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341521 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:22:55 +00:00
Bosanac Dejan 94b6b1115e https://issues.apache.org/jira/browse/AMQ-3854 - updating spring xsd references
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341091 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 16:16:12 +00:00
Timothy A. Bish fa62da8601 Add autofail to prevent test hang
see: https://issues.apache.org/jira/browse/AMQ-3842

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1340275 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 22:05:05 +00:00
Timothy A. Bish 53fff528a7 Apply patch for: https://issues.apache.org/jira/browse/AMQ-3817
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1340219 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 19:30:26 +00:00
Timothy A. Bish 3082a20520 Unit test that reproduces AMQ-3841
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1339660 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:49:32 +00:00
Timothy A. Bish e4d90d9281 Add test to show no issue for: https://issues.apache.org/jira/browse/AMQ-3835
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1339589 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 13:09:32 +00:00
Timothy A. Bish f13968e97e wait for started before checking on the MBean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1336387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 20:42:06 +00:00