Commit Graph

3891 Commits

Author SHA1 Message Date
Timothy A. Bish 6c4bcb3197 https://issues.apache.org/jira/browse/AMQ-3500
Don't remove the options, just get them each time.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1185129 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 12:44:55 +00:00
Bosanac Dejan 75e6f1981d TwoBrokerVirtualDestDinamicallyIncludedDestTest - test virtual topics over network of brokers setup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1185097 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 10:35:29 +00:00
Timothy A. Bish b7f280817d https://issues.apache.org/jira/browse/AMQ-3500
fix a cut and paste oops

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1184866 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 16:54:18 +00:00
Timothy A. Bish 56272fab37 https://issues.apache.org/jira/browse/AMQ-3500
Only validate the params inside the domain of the producer or consumer.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1184834 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 14:28:42 +00:00
Timothy A. Bish 9ff350033f fix for: https://issues.apache.org/jira/browse/AMQ-3543
Unit test added.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1183495 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 20:52:35 +00:00
Timothy A. Bish baac9e7e9a fix for: https://issues.apache.org/jira/browse/AMQ-1132
Remove the dependency on the ActiveIO test.jar.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1183359 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 13:40:49 +00:00
Timothy A. Bish 6579d9eada apply patch for: https://issues.apache.org/jira/browse/AMQ-3536
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1183342 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 13:07:01 +00:00
Timothy A. Bish 88f60580e3 apply fix for: https://issues.apache.org/jira/browse/AMQ-3500
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1183143 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 22:28:47 +00:00
Gary Tully 4acd13243a https://issues.apache.org/jira/browse/AMQ-3542 - Using failover: with static discovery in a network connector to choose from a master/slave tuple leads to hangs and invalid states. issue with demand forward bridge reacting to failover transport interupt/resume leading to race conditions. race condition with tracking bridges and restarts. change default maxReconnectAttempts=0 to mean none, -1 for infinte. Default behavour is still infinite. To reference a master slave pair, use: static:(failover:(a,b)?maxReconnectAttempts=0)?useExponentialBackOff=false. see org.apache.activemq.network.FailoverStaticNetworkTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1183062 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 20:07:48 +00:00
Timothy A. Bish f33f32e892 fix for: https://issues.apache.org/jira/browse/AMQ-3481
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1182890 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 14:54:15 +00:00
Timothy A. Bish 3b381e7c15 https://issues.apache.org/jira/browse/AMQ-3481
Further refine this fix to address some test failures. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1182049 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 19:39:45 +00:00
Gary Tully ab9bce6147 give consumer a little more time for slower hardware
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1181711 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 11:09:39 +00:00
Gary Tully 6468eba5e6 update openwire verison for 5.6 release, addition of security token in connection control
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1181219 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 20:27:21 +00:00
Gary Tully 9c9b85659c https://issues.apache.org/jira/browse/AMQ-3532 - expiry of offline durable subscription on activation can lead do duplicate expiry processing and negative pending cursor size, resolve duplicate cursor remove and contention with dispatch, additional test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1181112 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 18:21:46 +00:00
Timothy A. Bish 3a806e98dc Test for: https://issues.apache.org/jira/browse/AMQ-3324
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1181022 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 15:31:09 +00:00
Gary Tully 2398a3a377 https://issues.apache.org/jira/browse/AMQ-3519 - fix regression in org.apache.activemq.bugs.AMQ2983Test, transacted ack needs to use async remove to ensure a concurrent dispatch does not preceed an ack
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1180884 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 11:47:09 +00:00
Timothy A. Bish 8cf318788d fix for: https://issues.apache.org/jira/browse/AMQ-3481
Issues arises when the StompTransport is sending an Ack back for Auto Ack 
mode in the same thread as the message was dispatched in.  If an incoming 
command beats the auto ack to onCommand in the activity monitor it will block
as the original thread is now waiting on the incoming command for the transport
lock.  Need to send back the Auto Acks in their own thread using a Task Runner
in the Stomp Transport so that the dispatch thread can complete and release
its lock on the transport.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1180070 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 15:22:31 +00:00
Timothy A. Bish 216f74e003 Give a little extra time for the Stomp frames to take effect.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1180059 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 14:43:53 +00:00
Gary Tully ab12a60a3a https://issues.apache.org/jira/browse/AMQ-3526 - JDBC persistence adapter, destination mbeans not visible on restart till producers or consumers reattach. query to find inactive destinations was checking the wrong table name, resolved with new test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1179999 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:57:41 +00:00
Gary Tully 58e9c66201 https://issues.apache.org/jira/browse/AMQ-3523 - fix issue with related test, org.apache.activemq.transport.discovery.DiscoveryNetworkReconnectTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1179612 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:09:49 +00:00
Timothy A. Bish 6faa9c3546 fix for: https://issues.apache.org/jira/browse/AMQ-3524
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1179470 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 23:17:22 +00:00
Gary Tully f793fbd7e6 https://issues.apache.org/jira/browse/AMQ-3523 - NetworkConnector MBean unregistration can fail with a transport disconnect - leaving dangling mbean, fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1179355 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 18:10:08 +00:00
Jonathan Anstey 2f4d11f9b0 AMQ-3457 - check the connection id to make sure we don't delete someone else's temp dest
Reviewed by gtully



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1179328 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 17:15:19 +00:00
Timothy A. Bish e6254c2f8a fix for: https://issues.apache.org/jira/browse/AMQ-3465
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1178398 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 12:43:51 +00:00
Timothy A. Bish 0890672e08 Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177799 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 19:38:46 +00:00
Timothy A. Bish 633428c6e3 fix for: https://issues.apache.org/jira/browse/AMQ-3014
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177797 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 19:35:28 +00:00
Gary Tully 601f54f0df https://issues.apache.org/jira/browse/AMQ-3519 - allign tests with last minute attribute name change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177621 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 12:21:53 +00:00
Gary Tully 2030097e01 https://issues.apache.org/jira/browse/AMQ-3519 - Allow JMSRedelivered flag to survive a restart. Add transactedIndividualAck flag to connection factory and rewriteOnRedelivery to KahaDBPersistenceAdapter. These combine to persist the redelivery status on a rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177619 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 11:59:44 +00:00
Timothy A. Bish 7d8ce02dee fix for: https://issues.apache.org/jira/browse/AMQ-3517
Adds tests for the backup option and cleans up some other the other tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177437 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 21:42:29 +00:00
Timothy A. Bish 1878e951c6 Use a Wait condition instead of sleeps to detect completion.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177411 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 19:45:21 +00:00
Timothy A. Bish ad76330eed https://issues.apache.org/jira/browse/AMQ-3516
Add fix along with a unit test to ensure it stays fixed.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177345 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 16:02:49 +00:00
Timothy A. Bish 6d31ed72f0 Make the test work without relying on a sleep statement to get the results needed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177338 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 15:38:15 +00:00
Timothy A. Bish b6b69113b1 apply fixes for https://issues.apache.org/jira/browse/AMQ-3513
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177088 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 22:07:21 +00:00
Timothy A. Bish 02f63c9782 fix for: https://issues.apache.org/jira/browse/AMQ-3515
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1177022 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 19:10:40 +00:00
Timothy A. Bish 3dbc9c9548 apply code cleanup patch from https://issues.apache.org/jira/browse/AMQ-3322
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1176580 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 19:59:07 +00:00
Timothy A. Bish d717a495c7 fix for: https://issues.apache.org/jira/browse/AMQ-3465
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1176393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 14:13:16 +00:00
Timothy A. Bish 2a0b4893c6 apply patch for: https://issues.apache.org/jira/browse/AMQ-3509
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1175855 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:14:45 +00:00
Timothy A. Bish 8976a6b973 fix for: https://issues.apache.org/jira/browse/AMQ-3511
Log Stomp frames sent and received by the StompTransport under
org.apache.activemq.transport.stomp.StompIO when the trace option
is enabled.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1175047 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 22:04:20 +00:00
Timothy A. Bish fef66a6e98 fix for https://issues.apache.org/jira/browse/AMQ-3242
Make the max value actually be Short.MAX_VALUE

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174954 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 18:58:55 +00:00
Timothy A. Bish 1453c53105 fix for: https://issues.apache.org/jira/browse/AMQ-3031
Don't use the scheduleAtFixedRate method in our scheduler as we
don't really have a need for real time task execution, just use
the fixed delay scheduler so that jobs don't stack up.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174951 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 18:48:19 +00:00
Timothy A. Bish 2db7cbf436 Remove the dependency on the fixed 61616 port number
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174734 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:13:33 +00:00
Timothy A. Bish d314b7f57d https://issues.apache.org/jira/browse/AMQ-3449
Add the setters/getters back for the ignore wireformat options.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1174097 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 12:45:07 +00:00
Gary Tully ad6b5e29db https://issues.apache.org/jira/browse/AMQ-3289 - updates to Blob/Oracle JDBCAdapter - applied patch from William McDonald with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173605 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:45:48 +00:00
Gary Tully e6a9ae2f31 https://issues.apache.org/jira/browse/AMQ-3507 - Large number of expiring messages causing QueueSize to groww. have cursor delegate to the destination for expiry processing. additional test. This will also sort out the intermittent failure of this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173583 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:09:30 +00:00
Timothy A. Bish e23afb3391 change for https://issues.apache.org/jira/browse/AMQ-3467
fix and issue created when the new changes were merged.




git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1173188 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 15:22:53 +00:00
Timothy A. Bish 5325cdb30b fixes for https://issues.apache.org/jira/browse/AMQ-3467
Clean up some code in MessageDatabase, add guards around logging to avoid big string ops when not
needed.  



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172640 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 14:23:02 +00:00
Gary Tully a36e618f71 https://issues.apache.org/jira/browse/AMQ-3501 - make use of the encoded string! and add some tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172572 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 11:30:14 +00:00
Gary Tully 7d082c36bb https://issues.apache.org/jira/browse/AMQ-3490 - allow optional lazyInit of temp (plist) store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1172528 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 09:03:13 +00:00
Timothy A. Bish 943db3c3cb fixes for https://issues.apache.org/jira/browse/AMQ-3467
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171743 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 19:31:30 +00:00
Gary Tully 4a697f852a https://issues.apache.org/jira/browse/AMQ-3490 - defer setting init done flag till complete, ensure a failed init attempt is retried
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171487 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 10:13:41 +00:00
Gary Tully 94de98a64c https://issues.apache.org/jira/browse/AMQ-2922 - give test scenario more time for hudson slow disks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171006 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:44:52 +00:00
Gary Tully 2f5ec047dd https://issues.apache.org/jira/browse/AMQ-3497 - make test case more deterministic using receipts on unsub such that a sub only gets one message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170901 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:41:42 +00:00
Gary Tully 8abb5b6df1 https://issues.apache.org/jira/browse/AMQ-3499 - increase transport failure to warn and exclude eof for stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170624 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:49:25 +00:00
Gary Tully ba0c1e59b2 https://issues.apache.org/jira/browse/AMQ-3497 - send subscription receipt early such that it cannot be preceeded by a message dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170523 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:46:48 +00:00
Gary Tully 68a8b6d62a https://issues.apache.org/jira/browse/AMQ-3496 - make use of the org.apache.activemq.command.UnresolvedDestinationTransformer to provide a default value for an unqualified destinations string for a stomp replyTo header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170474 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 08:32:56 +00:00
Gary Tully 15953786d1 https://issues.apache.org/jira/browse/AMQ-2922 - rework, introduce new store 'mKahaDB' that contains multiple filtered kahadb persistence adapters, destinations match a store using destination wildcards in the same way as policy entries. Transactions that span multiple stores use a local xa variant to ensure consistency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1170201 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 15:01:37 +00:00
Timothy A. Bish 0d08a5a20f fix for: https://issues.apache.org/jira/browse/AMQ-3488
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1169549 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 21:41:49 +00:00
Timothy A. Bish 4f14f1e5c0 fix for: https://issues.apache.org/jira/browse/AMQ-3488 along with test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1169514 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 19:56:20 +00:00
Timothy A. Bish 3060a64c8c fix for https://issues.apache.org/jira/browse/AMQ-3493
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1167582 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 19:48:54 +00:00
Timothy A. Bish 251dc7bb23 fix for https://issues.apache.org/jira/browse/AMQ-3486 with test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1166216 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 15:11:10 +00:00
Timothy A. Bish acde68e3ab add test for: https://issues.apache.org/jira/browse/AMQ-3484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1166177 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:44:33 +00:00
Timothy A. Bish 9529b24046 Apply patches for https://issues.apache.org/jira/browse/AMQ-3483
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1166164 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:19:49 +00:00
Gary Tully 588a3c3594 make test a little more deterministic and simplify failure check
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1164056 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 12:55:18 +00:00
Bosanac Dejan 603b215841 https://issues.apache.org/jira/browse/AMQ-3481 - stomp deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1163940 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:28:47 +00:00
Gary Tully c6ed5ff237 https://issues.apache.org/jira/browse/AMQ-2868 - rework to remove sync on transaction completion, cursor updates are now stacked so that they ocurr in order, independent of thread execution after waiting for the journal to complete a write. This ensures that the cursors are updates in the same order as the index while still working wo the index lock. TransactedConsumerTest shows horizontal scaling now works better with transactions. Reworked metadata.lastUpdate to always work with the existing index lock rather than reaquire, this may help with spurious gc journal data file issue on windows - https://issues.apache.org/jira/browse/AMQ-3470
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1163613 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 13:07:57 +00:00
Timothy A. Bish 17995e6fac fix for: https://issues.apache.org/jira/browse/AMQ-3157
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162275 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 22:25:32 +00:00
Timothy A. Bish 82df23e4a4 fix for https://issues.apache.org/jira/browse/AMQ-3475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162215 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 19:18:34 +00:00
Bosanac Dejan 713dcaae56 https://issues.apache.org/jira/browse/AMQ-3401 - pluggable unresolved destination trnasformer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162073 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 11:58:02 +00:00
Bosanac Dejan 4f50d25a22 https://issues.apache.org/jira/browse/AMQ-3474 - flush only if we have some non-persistent messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162063 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 11:12:36 +00:00
Gary Tully d8d20f5621 allow early return if stopping, avoids some logging on shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162059 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 10:50:29 +00:00
Timothy A. Bish c54967d4fe apply changes for https://issues.apache.org/jira/browse/AMQ-2961 updates some versions of dependencies and clean up the versions in the pom files so its easier to change in the future.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1161672 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 18:05:45 +00:00
Timothy A. Bish 8acbf4ceb5 Fix for AMQ-3468. Updated to XStream v1.4.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160923 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 23:10:41 +00:00
Timothy A. Bish 3efd4b0515 fix for: https://issues.apache.org/jira/browse/AMQ-3454
Use a read / write lock on the destination mutex as many of the access points are simply reads of the underlying maps or a quite copy to another Collection.  The only time a write is done is during addDestination and removeDestination.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160894 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:51:10 +00:00
Bosanac Dejan 4b6648eba1 https://issues.apache.org/jira/browse/AMQ-3463 - osgi and maven metadata
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160656 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:25:22 +00:00
Bosanac Dejan 4682d399ba https://issues.apache.org/jira/browse/AMQ-3463 - osgi and maven metadata
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1160316 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:58:44 +00:00
Timothy A. Bish b9b67d0677 See if a bit more time allows the file based version of the test to receive, persist and then expire the messages on the slow build machine.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159875 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 13:41:02 +00:00
Gary Tully 383a7acb05 https://issues.apache.org/jira/browse/AMQ-3362 - revisit, place a limit on a browse such that the entire store is not recovered at once. Makes use of getMaxBrowsePageSize and getMaxExpirePageSize like the queue case, overhead is too large otherwise as durable sub test shows
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159662 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 15:34:31 +00:00
Gary Tully 32c06a0b1b some more autofail support to tests that can block a run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159581 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 10:30:41 +00:00
Bosanac Dejan 6994ecb5ac https://issues.apache.org/jira/browse/AMQ-3374,https://issues.apache.org/jira/browse/AMQ-3443 - long kahadb tx, delayed tmp file removal
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159570 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 10:16:33 +00:00
Gary Tully 0d12055926 add autofail to yet another test that seems to stop the nightly build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159294 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 16:13:34 +00:00
Gary Tully 039b646b4e add autofail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159168 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:14:49 +00:00
Gary Tully c2179d15b7 use autofail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159153 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:49:17 +00:00
Gary Tully e23b8ea0a6 https://issues.apache.org/jira/browse/AMQ-3459 - fix up outofdate merge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159149 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:41:12 +00:00
Gary Tully 12aeb272bd don't let a hang stop the nightly build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159142 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:25:18 +00:00
Bosanac Dejan 79c9f2d013 https://issues.apache.org/jira/browse/AMQ-3459 - inactive durable subscriber view selector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159090 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:46:58 +00:00
Gary Tully a1b8df5605 setAutoFail so we get a stack trace on a hang in nightly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158822 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:47:22 +00:00
Gary Tully 5daeb53cc4 https://issues.apache.org/jira/browse/AMQ-3455: Broker may deadlock when creating queues under load with wildcard consumers - remove unnecessary class sync that results in lock order acquisition problem - related to https://issues.apache.org/jira/browse/AMQ-3197 sync on create. Additional test with concurrent producers/consumers on wildcards reproduces
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158591 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 09:25:45 +00:00
Timothy A. Bish f1f6894ed7 Test case to show that https://issues.apache.org/jira/browse/AMQ-3405 is not a bug.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158471 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:20:08 +00:00
Timothy A. Bish a6f1d756ef fix for: https://issues.apache.org/jira/browse/AMQ-1942
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157433 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 22:28:42 +00:00
Timothy A. Bish 0885c60c4d fix for: https://issues.apache.org/jira/browse/AMQ-3449
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157238 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 20:29:29 +00:00
Gary Tully 9026274532 show the store location for a DB toString
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157118 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 14:20:51 +00:00
Timothy A. Bish 0e7d5a9523 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156835 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 21:17:24 +00:00
Timothy A. Bish b4b39509a9 apply patch for: https://issues.apache.org/jira/browse/AMQ-2845
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156748 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 19:14:50 +00:00
Timothy A. Bish 7a46a1c368 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156397 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 23:00:13 +00:00
Gary Tully caca105072 https://issues.apache.org/jira/browse/AMQ-3442: Use real durable sub key as MBean name for inactive durable sub and improve metrics, fix inflight count on deactivate. resolved.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155437 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 17:09:49 +00:00
Timothy A. Bish fd6be7f340 Give this test more time to meet its criteria
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155385 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 14:33:28 +00:00
Timothy A. Bish 1e1b568784 Give the wait for expiration a bit more time since a really slow disk + CPU can't seem to get it done in 30secs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155363 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:39:23 +00:00
Timothy A. Bish 1898f9adbd apply patch for: https://issues.apache.org/jira/browse/AMQ-3439
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 13:48:10 +00:00
Timothy A. Bish 3a181501b1 test for: https://issues.apache.org/jira/browse/AMQ-2801
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154258 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 15:05:47 +00:00
Timothy A. Bish d8b5e2d6e2 Allows the class to set a field that isn't public but has a setter method. Fixes the compile warnings as well.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154189 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 12:33:10 +00:00