Commit Graph

3083 Commits

Author SHA1 Message Date
Robert Davies 799c033ead make the make counts a little larger
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@909773 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 08:49:56 +00:00
Robert Davies 84c76a94a0 expose all brokers registered
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@909298 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 08:51:58 +00:00
Gary Tully b84da17004 keep to java5 api
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908949 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 12:46:42 +00:00
Guillaume Nodet 3ce41d42c5 AMQ-2602: avoid activemq osgi bundles to import their own packages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908905 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 09:57:46 +00:00
Robert Davies e3154c3cd6 Added cron support for scheduled delivery - this is further enhancements for
https://issues.apache.org/activemq/browse/AMQ-451

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908867 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 08:18:36 +00:00
Gary Tully 0701d7d0e6 exercise all unicode for byte array stream write/readUTF to validate
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908618 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:15:16 +00:00
David Jencks fa9f4ac9cc AMQ-2601 make Activator class back into an activator, and use it in activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908373 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 07:49:07 +00:00
David Jencks 09fab742ff AMQ-2601 Make amq more blueprint-friendly, move away from spring lifecycle interfaces
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908182 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 19:56:21 +00:00
David Jencks cd694f728c minor formatting and javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908154 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:54:16 +00:00
Gary Tully a109a98442 browser snapshot of paged in messages is only guaranteed to be > pageSize, test should assert that only
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908121 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 17:19:49 +00:00
Gary Tully fde472195f resolve failure of JDBCStoreBrokerTest on slow machines, identified a sync issue with dispatch to queue browsers. Tidied up dispatch of queue browser to tie it to normal dispatch and avoid the timing/sync issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908060 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 14:47:07 +00:00
Gary Tully 7799ed795e resolve regression with jobscheduller mbean - mock test is a little particular w.r.t to expected registered mbeans
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907618 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 11:00:46 +00:00
Bosanac Dejan 31ec5bafd8 DurableConsumerTest - hopefully the last increase of wait time
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907604 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 09:51:09 +00:00
Bosanac Dejan 80b421dd45 https://issues.apache.org/activemq/browse/AMQ-2594 - fixing test exclusion pattern
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907595 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 09:35:39 +00:00
Robert Davies c7c8e5367e Added JMX support for JobScheduling
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907197 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 08:57:24 +00:00
Gary Tully 39d071798a https://issues.apache.org/activemq/browse/AMQ-2590 - ensure beforeEnd is called once per transaction so ack on rollback is avoided, add more tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907174 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 05:13:21 +00:00
Bosanac Dejan ecaacd852e DurableConsumerTest - give it even more time to complete on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906983 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:58:44 +00:00
Gary Tully a866d93b6f tidy up and enable auto fail as this hangs in 5.3 for some reason. stack trace will help diagnose
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906861 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 09:13:39 +00:00
Gary Tully e561040c70 allow for transaction rolledback exception: https://issues.apache.org/activemq/browse/AMQ-2590
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906697 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 22:33:33 +00:00
Bosanac Dejan 50dc880345 https://issues.apache.org/activemq/browse/AMQ-2594 - reverting related https://issues.apache.org/activemq/browse/AMQ-2563 changes, as more refactoring is needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906560 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 16:46:51 +00:00
Gary Tully ab6bd79b26 get some more info out of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906457 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 11:34:47 +00:00
Gary Tully b836af84f0 further evolution of resolution for https://issues.apache.org/activemq/browse/AMQ-2590 - indoubt transactions are now rolledback, pending transactions can wait for jms.consumerFailoverRedeliveryWaitPeriod for redeliveries before rolling back. If previously delivered messages are not replayed the transaction is rolledback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906450 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 11:06:13 +00:00
Timothy A. Bish 1e8acfadb2 https://issues.apache.org/activemq/browse/AMQ-2490
Increase the receive timeout to fix errors on slow/loaded machines.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906301 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:30:16 +00:00
Timothy A. Bish 4bff78d3b4 https://issues.apache.org/activemq/browse/AMQ-2490
Disable the user id tests for the SSL auth test case.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906300 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:28:14 +00:00
Timothy A. Bish 3e022d8262 Update the Receipts test with a delay to prevent occasional failures.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906270 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 22:41:06 +00:00
Timothy A. Bish 24f73a53c1 Fix for: https://issues.apache.org/activemq/browse/AMQ-1817
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906101 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 16:09:42 +00:00
Timothy A. Bish 5ebfbf0387 Fix for: https://issues.apache.org/activemq/browse/AMQ-2254
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906088 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 15:36:12 +00:00
Timothy A. Bish caabb6cb3d Fix for: https://issues.apache.org/activemq/browse/AMQ-2490
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906071 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 14:42:33 +00:00
Bosanac Dejan 5170a8bba3 https://issues.apache.org/activemq/browse/AMQ-2563 - jdbc memory leak
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 14:07:08 +00:00
Robert Davies 700f1e45de Further fix for https://issues.apache.org/activemq/browse/AMQ-2220
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906045 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 13:59:29 +00:00
Robert Davies c008426c7a applied patch for https://issues.apache.org/activemq/browse/AMQ-1385
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905978 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:32:23 +00:00
Robert Davies 02fe43b8b6 Applied patcg for https://issues.apache.org/activemq/browse/AMQ-2555
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905973 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:23:34 +00:00
Robert Davies 9f2d289bee applied patch for https://issues.apache.org/activemq/browse/AMQ-2220
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905958 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 09:49:21 +00:00
Robert Davies 204f91f935 Fix for https://issues.apache.org/activemq/browse/AMQ-2571
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905926 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 08:02:49 +00:00
Timothy A. Bish 4d0a8a5c7e https://issues.apache.org/activemq/browse/AMQ-2196
Add option to ignore the values in the remote WireFormatInfo in case the user wants control over the Brokers inactivity timeouts.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905769 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 20:10:39 +00:00
Gary Tully c32820d87b tidy up test case for https://issues.apache.org/activemq/browse/AMQ-2590
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905640 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 14:16:41 +00:00
Gary Tully 59653a50f8 remove dependency on jmx and revert to direct calls on destinations to get stats and view on counters - resolve intermittent failures on hudson with a bit of luck as jmx introduces lots of timing issues
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905582 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 11:22:28 +00:00
Gary Tully 62daac4b31 resolve https://issues.apache.org/activemq/browse/AMQ-2590 - commit may throw a TransactionRolledBackException in the event that after a failover recovery, the same messages are not redispatched - the transaction cannot be fully recreated so it must rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905432 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 22:41:17 +00:00
Gary Tully 722258e196 resolve: https://issues.apache.org/activemq/browse/AMQ-2589 - add null check
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905349 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:09:32 +00:00
Bosanac Dejan a3607423c4 DurableConsumerTest - giving it more time to pass on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905235 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 10:14:15 +00:00
Gary Tully 7b700ee7a2 validate (wait for) mbean existance before returning an mbean view - get to the bottom of intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 16:49:27 +00:00
Gary Tully 7a7ac1313b resolve https://issues.apache.org/activemq/browse/AMQ-2585 with thanks. modified version of test applied, min size override is only relevant on the broker as it is calculated on demand on the client
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904585 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 18:40:42 +00:00
Gary Tully 2f65221065 give it a little more time after consumer created
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904584 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 18:38:03 +00:00
Gary Tully 5a03c37faf resolve timing issue with reconnect in failover transport that can stall reconnect logic - resulted in intermittent failure of AMQ2183Test. reorg of test make it reproducable when master is waiting for slave to connect and its disconnects ocurr async so they can clash with inprogress reconnects - resolve https://issues.apache.org/activemq/browse/AMQ-2588
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904568 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 17:39:20 +00:00
Bosanac Dejan fed9ac7955 https://issues.apache.org/activemq/browse/AMQ-2507 - improving test, avoiding false positives
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904468 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 11:42:46 +00:00
Gary Tully 17cc428b21 doubling the timeout for slow/loaded machines - intermittent failur hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904451 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:31:10 +00:00
Gary Tully ce17f58cb3 wait for queues to drain, intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904450 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:22:47 +00:00
Gary Tully 6205a0f9c8 push out the hang threshold for loaded/slow machines - intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904444 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:07:37 +00:00
Gary Tully 98a0f39b34 ensure destination exists even if empty after recovery, intermittent failure in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904441 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:00:47 +00:00
Hiram R. Chirino 02d57284a4 Fix for AMQ-2586
Topics will now report a queue size of 0.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904243 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:00:48 +00:00
Bosanac Dejan 83128fc45b https://issues.apache.org/activemq/browse/AMQ-2507 - producer flow control timeout
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904160 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 17:07:16 +00:00
Gary Tully 0d9c588ed7 resolve intermitent failure on loaded machines, consumer could complete before producer thread got to do any work at all
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903758 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:46:08 +00:00
Gary Tully 19bfd9d3b5 resolve hudson failure with DurableConsumerTest related to kahaDB under the FilePendingMessageCursor - fixes the cursor got duplicates error and improves the test now that there are no more duplicates. relates to https://issues.apache.org/activemq/browse/AMQ-2575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903741 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:15:09 +00:00
Robert Davies 8b1e16de48 renamed to follow Test naming convention
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903487 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 23:31:06 +00:00
Gary Tully 8eeedce809 dsiable shutdown hook as it causes autofail exit to hang which defeats the purpos - want a stack trace if it hangs again
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903344 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 18:00:40 +00:00
Gary Tully def2a34915 store can be null for a temp q, npe will hide out of sync error message, observed once in AMQ2102Test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903225 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 13:59:27 +00:00
Gary Tully b85b71e297 instancenotfound exception wrapped in undeclaredthrowable by proxy, just ignore all for the wait period so slow machines can let it pass eventually
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903180 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:35:33 +00:00
Bosanac Dejan a770a00373 DiscoveryNetworkReconnectTest - giving it even more time to reconnect to help stabilise on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:30:33 +00:00
Gary Tully f82df4585d make this autofail so we get a stack trace if it hangs in hudson again
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902924 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:58:23 +00:00
Gary Tully 8d3ca90303 resolve: https://issues.apache.org/activemq/browse/AMQ-2579 - use ConsumerControl with destination to update prefetch once recovery is complete. restored consumers are pull only pending recovery completion on the client side. Update WireFormat version to 6 - fix for 5.4 due to wireformat update
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902908 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:19:54 +00:00
Robert Davies 0f27c464b4 speed up tests - by deleting database directly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902907 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:17:17 +00:00
Bosanac Dejan 57b8927743 making ExpiredMessagesTest pass on very slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902816 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 14:21:27 +00:00
Bosanac Dejan d2791aee90 https://issues.apache.org/activemq/browse/AMQ-2570 - excluding spring dependencies for spring osgi
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 08:49:35 +00:00
Gary Tully 6efc268572 resolve intermittent failure of org.apache.activemq.bugs.AMQ2149Test as a result of https://issues.apache.org/activemq/browse/AMQ-2573. An new command to indicate when recovery is complete on a sub is needed to gate dispatch on a recovered connection, can do this for 5.4. An outstanding ack transaction is now ignored but an outstand send transaction can still cause a potential hang till we introduce the new recovery complete command
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902056 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 10:59:46 +00:00
Robert Davies 8af25fd239 Fix for http://issues.apache.org/activemq/browse/AMQ-2530
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902009 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 06:48:29 +00:00
Robert Davies dad4f49213 Fixed failing test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901928 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:44:29 +00:00
Timothy A. Bish a438496645 fix for https://issues.apache.org/activemq/browse/AMQ-2548 don't close the ftp connection until the stream is closed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901911 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:02:28 +00:00
Robert Davies e166ae3937 Added test case for http://issues.apache.org/activemq/browse/AMQ-2571
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901832 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 19:19:09 +00:00
Hiram R. Chirino a33d6684eb Adding a isEmpty() method to the btree indexes.. related to the fix created for AMQ-2512
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901763 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 16:37:37 +00:00
Robert Davies affd91eda3 Improvement for https://issues.apache.org/activemq/browse/AMQ-2512
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901300 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 17:42:00 +00:00
Gary Tully 862cd718ed resolve https://issues.apache.org/activemq/browse/AMQ-2573 - rollback of audit check needs to be synced with redispatch after failover transport resumption, otherwise some redispatched unconsumed messages can get auto-acked as duplicates in error
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901273 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 16:49:22 +00:00
Gary Tully 8de3bd29bf resolve https://issues.apache.org/activemq/browse/AMQ-2567
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 16:41:30 +00:00
Robert Davies ee55abb921 Fix for https://issues.apache.org/activemq/browse/AMQ-2575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 13:27:05 +00:00
Bosanac Dejan 0a3c0e5300 https://issues.apache.org/activemq/browse/AMQ-2574 - stop osgi bundle on application context close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901171 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 12:54:07 +00:00
Robert Davies 27a6f1c6ab added logging for Timestamp plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900526 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 19:52:50 +00:00
Robert Davies 2e98d40065 added size() method to return amount of disk space the store occupies on disk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900420 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 15:17:44 +00:00
Bosanac Dejan 27186c5ce2 DiscoveryNetworkReconnectTest - prevent test failing on slower machines - more fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900383 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 13:15:23 +00:00
Bosanac Dejan 2ac5e7aa3e prevent test failing on slower machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900363 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 12:19:54 +00:00
Gary Tully 7ceb4cbc43 resolve https://issues.apache.org/activemq/browse/AMQ-2572 - issue with unconsumed prefetched messages being ignored as duplicates - timing issue with consumer close and session dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900318 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 09:43:21 +00:00
Timothy A. Bish 6ea3a22bee fix for: http://issues.apache.org/activemq/browse/AMQ-1882
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900020 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:27:33 +00:00
Robert Davies 630184adfa test case for https://issues.apache.org/activemq/browse/AMQ-2568
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899640 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 14:22:44 +00:00
Robert Davies 7ae2055c59 Added fix for https://issues.apache.org/activemq/browse/AMQ-451
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899633 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 14:09:30 +00:00
Willem Ning Jiang d4794e2420 AMQ-2569 Updated the spring.schemas file in activemq-core with the released activemq-core version
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899542 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 06:36:06 +00:00
Robert Davies e300b8768c Added test case for https://issues.apache.org/activemq/browse/AMQ-2561
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899205 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 14:04:53 +00:00
Gary Tully a1a676647c add a few more test variants for inflight: https://issues.apache.org/activemq/browse/AMQ-2566
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899145 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 10:17:54 +00:00
Bosanac Dejan 3ea1015a92 https://issues.apache.org/activemq/browse/AMQ-2488 - dynamic osgi import for activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:54:07 +00:00
Gary Tully 80f7e38807 resolve https://issues.apache.org/activemq/browse/AMQ-2566, inflight out of sync after delivery to dlq. Also tidy failover transaction test from: https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898797 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:18:24 +00:00
Bosanac Dejan db6827346b https://issues.apache.org/activemq/browse/AMQ-2440 - more stomp+nip (and just nio) transport improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898774 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 14:38:52 +00:00
Gary Tully a593e35d82 resolve intermittent failure of InactivityMonitorTest, test needed to pass negotiation to enable inactivity monitor with a version > 1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898730 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 12:22:22 +00:00
Gary Tully 16e060bd7e have this test autofail on hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 11:07:47 +00:00
Robert Davies 98bb7bfd90 expose the Journal property directoryArchive through KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898693 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 09:58:32 +00:00
Robert Davies f8cb8475ed expose the Journal property archiveDataLogs through KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898689 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 09:20:24 +00:00
Gary Tully 9cf216cce1 resolve intermittent ZeroPrefetchConsumerTest failure - prefetch excension decrement needs to be conditional on prefecth=0, relates to changes to prefetchExtension for https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898281 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 11:21:28 +00:00
Gary Tully 62eb5cf581 reduce unmatched ack exceptions, tidy up prefetchExtension https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 18:22:01 +00:00
Bosanac Dejan a9e7e94054 https://issues.apache.org/activemq/browse/AMQ-2440 - first shot at refactoring stomp+nio - handles load much better than previous solution, but seems to still leak threads - future improvements expected
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897939 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 16:54:49 +00:00
Bosanac Dejan 5362623d56 moving StompLoadTest to sys tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897203 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:45:47 +00:00
Bosanac Dejan 3b7a297129 moving StompLoadTest to systest subproject
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897199 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:41:08 +00:00
Gary Tully 0bc545b5d1 resolve potential lost ack with failover and an in progress consumer transaction that results in an Unmatched ack exception - resolve: https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897061 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 00:17:37 +00:00
Gary Tully 97e0fccdae resolve https://issues.apache.org/activemq/browse/AMQ-2523 - have Usage use a shared executor with a limited pool of 10 threads and an unbounded queue. Fix potential dropped dispatch attempts when messages waiting for space fail due to memory again being full, can result is hung consumer. In this case, a new notification for not full needs to be registered. Added relevant test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@895975 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 10:29:19 +00:00
Bosanac Dejan 155495485e https://issues.apache.org/activemq/browse/AMQ-2553 - browsing dlq over transacted session
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@894347 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 10:46:47 +00:00
Willem Ning Jiang 57843ea8a9 AMQ-2550 Fixed the issue of org.osgi.framework import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@893834 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 02:47:09 +00:00
Gary Tully 5fb52355d6 last piece of https://issues.apache.org/activemq/browse/AMQ-2540 - fix order or audit recovery replay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@893661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 00:38:28 +00:00
Bosanac Dejan 6cde61831e adapting jdbc audit test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892816 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 13:30:29 +00:00
Bosanac Dejan ae840c4b04 https://issues.apache.org/activemq/browse/AMQ-2473 - improving jdbc audit recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892759 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 10:53:44 +00:00
Bosanac Dejan 5ffcaf4052 https://issues.apache.org/activemq/browse/AMQ-2473 - fix find all message ids statement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892729 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 08:49:56 +00:00
Gary Tully 58e6532c7e add commit replay test to assert dups suppressed for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892291 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 16:09:29 +00:00
Gary Tully 8732f70793 first cut of audit recovery for https://issues.apache.org/activemq/browse/AMQ-2540 - test case reproduces. Little more tidy up needed such that the query is limited and such that the audit is recovered at the persistence adapter rather than at the store level - also related to https://issues.apache.org/activemq/browse/AMQ-2473
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892242 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 13:03:40 +00:00
Bosanac Dejan c6de4d7e56 https://issues.apache.org/activemq/browse/AMQ-2508 - SecurityContext.isInOneOf()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 11:12:32 +00:00
Gary Tully 08d89ff881 trun off exponential backoff so that reconnect will happen before the timeout after restart, intermittent failure in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892194 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 09:29:54 +00:00
Bosanac Dejan 3a1bdc6249 https://issues.apache.org/activemq/browse/AMQ-2539 - adding temp destinations and security
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891786 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 16:18:46 +00:00
Gary Tully 1606c59b9e test for replayed committed transaction on lost commit reply
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891622 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 10:50:02 +00:00
Gary Tully b9e51d6492 resolve https://issues.apache.org/activemq/browse/AMQ-2473 - issue with jmstemplate were producers are closed before transaction commits which is fine save when failover ocurrs. the producers need to be replayed to allow tracked messages to be replayed. added the capability to track and relay transaction producers. Can be disabled if producers out live transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891582 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 08:42:52 +00:00
Bosanac Dejan be01a5bd80 https://issues.apache.org/activemq/browse/AMQ-2529 - browse ove network - cleaning the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889710 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 17:21:35 +00:00
Bosanac Dejan 10dae9c659 https://issues.apache.org/activemq/browse/AMQ-2529 - browse over network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889677 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 16:11:07 +00:00
Bosanac Dejan c3801c4bc4 https://issues.apache.org/activemq/browse/AMQ-2519 - JDBC store and duplicate messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889167 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 10:05:11 +00:00
Gary Tully e80bf00b5b resolve https://issues.apache.org/activemq/browse/AMQ-2527 - add timeout to waitForSlave and make the following more reseliant to slow machines, VMTransportWaitForTest,MasterSlaveSlaveDieTest,SimpleNetworkTest,NetworkBrokerDetachTest,DuplexNetworkMBeanTest,MultiBrokersMultiClientsTest,AMQ2102Test - related to changes for https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888974 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 21:09:21 +00:00
Gary Tully f1f4e2c9d9 add current limit to info flow control message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 15:49:12 +00:00
Bosanac Dejan 6e1ba4a93e https://issues.apache.org/activemq/browse/AMQ-2513 - adapting DiscoveryNetworkReconnectTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888426 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:08:03 +00:00
Bosanac Dejan c9ca34a27a https://issues.apache.org/activemq/browse/AMQ-2525 - Prevent broker deadlock if jmxconnector start hangs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 12:22:24 +00:00
Bosanac Dejan df52a09063 https://issues.apache.org/activemq/browse/AMQ-2513 - adding test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888333 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:19:40 +00:00
Bosanac Dejan 4969866569 https://issues.apache.org/activemq/browse/AMQ-2513 - JMX bug - javax.management.InstanceNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888323 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:12:45 +00:00
Gary Tully 8f8f9ac529 don't account for wait time in cleanup log message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@886136 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:30:33 +00:00
Bosanac Dejan d49b6e5a0f https://issues.apache.org/activemq/browse/AMQ-2519 - duplicate messages and jdbc store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885841 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 17:20:29 +00:00
Gary Tully b59b8ab296 disable BrokerNetworkWithStuckMessagesTest as it currently fails, locally and in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885711 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:06:59 +00:00
Bosanac Dejan 5f6f23e3c9 http://issues.apache.org/activemq/browse/AMQ-1498 - broker recovery missing subscriber
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885488 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 16:47:36 +00:00
Gary Tully adb7fccda0 resolve https://issues.apache.org/activemq/browse/AMQ-2516 - broker send to dlq now uses broker security context so it will bypass the authentication plugin when configured
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884778 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 08:19:19 +00:00
Bosanac Dejan 13f9ec8555 https://issues.apache.org/activemq/browse/AMQ-2515 - Optimized Acknowledgements and interrupted transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884633 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 16:46:38 +00:00
Hiram R. Chirino 8978ac0772 Fix for AMQ-2511: Inactivity monitor does not time out stale connections.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:56:28 +00:00
Colin W Macnaughton 48764becbd Adding a blockedProducerWarningInterval attribute to destinations to control the rate at which warnings about blocked producers are generated (otherwise the warnings can flood the log).
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884234 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:35:09 +00:00
Gary Tully 83df5cef54 resolve https://issues.apache.org/activemq/browse/AMQ-2489 - duplicate delivery acks resulted in broker exceptions with client or inividual ack - delivery acks now only for unacked messages - down side is pending messages in broker remain on expiry awaiting ack from ackLaer that dependes on prefetch value - but this is reasonable and to be expected. they will be removed on close or subsequent acks in any event
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883458 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:43:01 +00:00
Gary Tully d7a8bc89e8 resolve compilation error, test still fails though
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883450 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:35:58 +00:00
Bruce Snyder c26dd6a5e1 Updated test for AMQ-2324 and AMQ-2484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883411 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 17:02:39 +00:00
Bosanac Dejan 1695cff244 PurgeTest- assert there are no messages in the queue, by trying to browse them
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883327 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 13:02:27 +00:00
Gary Tully 2a238f7c71 some more resiliance to slow hardware for this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882510 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:34:14 +00:00
Bosanac Dejan 0728ec9e75 https://issues.apache.org/activemq/browse/AMQ-2042 - added handling of 'no disk space' in default handler
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882144 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 13:50:46 +00:00
Bosanac Dejan 04b3f8e49b https://issues.apache.org/activemq/browse/AMQ-2042 - making amq store resilent to 'no space left'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882126 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:25:52 +00:00
Gary Tully 9b260dc37e resolve https://issues.apache.org/activemq/browse/AMQ-2487 - usage management of storecursor iterator was broken in that a browse would decrement the usage. memory management across move and retry operations is now correct. modified some tests to validate memory usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882096 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 10:33:41 +00:00
Robert Davies 7036dabdd8 bad commit - my bad - remove, remove remove :)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881322 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 15:10:04 +00:00
Robert Davies 07cb724669 Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881313 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 14:55:45 +00:00
Bosanac Dejan b4de4f5b09 https://issues.apache.org/activemq/browse/AMQ-2499 - minor improvement - case sensitivity
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881277 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:31:20 +00:00
Bosanac Dejan 1466d6cc3a https://issues.apache.org/activemq/browse/AMQ-2499 - don't show passwords in log files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881274 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:26:16 +00:00
Bosanac Dejan a55efe952c https://issues.apache.org/activemq/browse/AMQ-2499 - reverting previous commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:19:35 +00:00
Bosanac Dejan 0dc6e0c622 https://issues.apache.org/activemq/browse/AMQ-2499 - don't show passwords in log files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:16:05 +00:00
Bruce Snyder a15b39569b Changes to the test for AMQ-2324 and AMQ-2484; trying to get it to pass consistently
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881174 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 06:43:17 +00:00
Bruce Snyder f6cf0bafc2 First draft of a test for AMQ-2324 and AMQ-2484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880838 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 16:37:10 +00:00
Bosanac Dejan a19e27a9fc https://issues.apache.org/activemq/browse/AMQ-2042 - enable kahadb to recover from 'no space available'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880792 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:22:19 +00:00
Gary Tully c63eb5cc23 resolve https://issues.apache.org/activemq/browse/AMQ-2492 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880699 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 10:28:25 +00:00
Gary Tully 11274e0b74 resolve https://issues.apache.org/activemq/browse/AMQ-2493 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880696 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 10:17:35 +00:00
Bosanac Dejan e8a641c6b7 http://issues.apache.org/activemq/browse/AMQ-2042 - adding configurable io exception handling
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835888 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 15:50:32 +00:00
Gary Tully c808bebd00 resolve https://issues.apache.org/activemq/browse/AMQ-2483 and https://issues.apache.org/activemq/browse/AMQ-2028, keep track of outstanding wakeup requests in a queue with regular task runner avoids build up in determintic task runner. Exposed useDeterministicTaskRunner to validate some test that fail with the -DuseDedicatedTaskRunner=true system property. With broker.useDedicatedTask=false, Queues will use pooled executor for dispatch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 15:22:07 +00:00