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
Bosanac Dejan
f528aa5b1d
https://issues.apache.org/activemq/browse/AMQ-2486 - systemExitOnShutdown hang
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835816 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 11:26:16 +00:00
Colin W Macnaughton
414a6463ef
Fix for http://issues.apache.org/activemq/browse/AMQ-2439 : IllegalState issue.
...
Tightening synchronization in DemandForwardingBridge to avoid subscription clean up and ack processing race condition.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835715 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 03:02:49 +00:00
Bosanac Dejan
bf2077f484
http://issues.apache.org/activemq/browse/AMQ-2042 - fix for amq persistence store
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835412 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 15:13:36 +00:00
Bosanac Dejan
d34dcb4830
http://issues.apache.org/activemq/browse/AMQ-2042 - fix for kaha persistence store
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835373 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:56:29 +00:00
Bosanac Dejan
db65c4365b
https://issues.apache.org/activemq/browse/AMQ-2486 - systemExitOnShutdown hangs
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835339 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 11:26:57 +00:00
Gary Tully
ce18ec8b0f
resolve https://issues.apache.org/activemq/browse/AMQ-2487 , patch applied, test added
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835325 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 10:40:58 +00:00
Bosanac Dejan
b1a9130149
http://issues.apache.org/activemq/browse/AMQ-2042 - shutdown if kahadb cannot access disk
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@834922 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 15:50:45 +00:00
Gary Tully
3536b1e665
resolve https://issues.apache.org/activemq/browse/AMQ-2481 - no need to force a page in but sync between expiry from browse and from pageIn needed some tweaks, expired messages need to be removed from the cursor in the event of expiry from browse. Also resolve unit test failures from https://issues.apache.org/activemq/browse/AMQ-2481
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@834543 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 16:57:28 +00:00
Gary Tully
748e419b75
wait a little longer on slow machines where recovery can take a while
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833497 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 17:54:15 +00:00
Bosanac Dejan
bf91745bf5
additional fix for https://issues.apache.org/activemq/browse/AMQ-2306 - jmx for slave brokers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833441 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 15:29:40 +00:00
Gary Tully
814c49f058
resolve intermittent failure of DiscoveryNetworkReconnectTest due to network timing issues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833435 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 15:14:05 +00:00
Bosanac Dejan
b3873fb3e4
https://issues.apache.org/activemq/browse/AMQ-2306 - jmx for slave brokers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 13:56:28 +00:00
Gary Tully
f1fa8f911d
soreuse addr on rmi connector and enable some debug logging to track down hudson jmx related intermittent failures
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833376 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 12:26:34 +00:00
Gary Tully
46a7f9eeab
resolve https://issues.apache.org/activemq/browse/AMQ-2478 - patch applied with thanks. test case works with the new kahaDB also, it is a little neater w.r.t exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833074 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 16:29:47 +00:00
Bosanac Dejan
652d551063
adding durable topic expiration test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833034 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 12:14:21 +00:00
Gary Tully
9086693c61
add some resilience to slow mbean registration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@832829 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 18:15:57 +00:00
Gary Tully
7f46be934a
avoid java.util.concurrent.RejectedExecutionException on shutdown by bracketing executor usage with started flag
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@832401 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 12:25:38 +00:00
Bosanac Dejan
8e42528bb2
https://issues.apache.org/activemq/browse/AMQ-2474 - jaas certificate authentication plugin and network of brokers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831942 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 16:20:18 +00:00
Gary Tully
780e448cd4
apply patch for https://issues.apache.org/activemq/browse/AMQ-2458 with thanks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831888 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 13:00:24 +00:00
Gary Tully
4213e42514
make networkbridge tests more resilient to time related issues on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831876 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 12:35:12 +00:00
Gary Tully
763ef103d8
apply patch for https://issues.apache.org/activemq/browse/AMQ-2472 with thanks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831827 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 09:02:38 +00:00
Gary Tully
97d7c390df
add variant that uses syncSend and verifies a ResourceAllocationException in the sending thread
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831377 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 16:43:05 +00:00
Gary Tully
89eecadd9d
resolve https://issues.apache.org/activemq/browse/AMQ-2468 - limit pagedInPendingDispatch to maxPageSize and bypass dispatch for jmx queue modifications like purge and remove matching messages so they are not limited by pending messages and can page through all messages. Resolve intermittent deadlock in AMQ2102Test. Note: sparse selectors may need to increase maxPageSize as ever increasing pagedInPendingDispatch was exceeding that limit in error
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831258 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 10:51:41 +00:00
Gary Tully
d2a9f7dba2
first cut of resolution to https://issues.apache.org/activemq/browse/AMQ-2470 - put cleanup on a fixe rate schedual
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@831008 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 16:10:36 +00:00
Gary Tully
00e2f511c3
resolve https://issues.apache.org/activemq/browse/AMQ-2463 - new isolationlevel int property on JDBCPersistenceAdapter
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@829105 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 15:51:45 +00:00
Bosanac Dejan
5074fefc09
re-enable broker creation in the perf test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@829012 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 11:50:39 +00:00
Gary Tully
5eb274d08d
resolve https://issues.apache.org/activemq/browse/AMQ-2314 - spooled non persistent messages for a topic sub remain after disconnect, pendin messages are now removed so that the temp store can be reclaimed
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@828975 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 09:37:47 +00:00
Bosanac Dejan
026c120094
test for http://issues.apache.org/activemq/browse/AMQ-1873 - stomp toon many open files
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@828954 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 08:11:17 +00:00
Robert Davies
592e18ea9b
Fix for https://issues.apache.org/activemq/browse/AMQ-2461
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@828645 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 10:37:51 +00:00
Gary Tully
2c73c3df8c
resolve some timing issues with slow tests and potential jmx port clash
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@826700 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 15:28:29 +00:00
Gary Tully
aef4ccfe8f
fix race condition in test that validates dequeue count, thanks Al on irc
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@825084 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 11:11:03 +00:00
Robert Davies
f866f770e3
Applied patch for https://issues.apache.org/activemq/browse/AMQ-2449
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@825008 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 05:07:45 +00:00
Gary Tully
43bd686a2c
resolve https://issues.apache.org/activemq/browse/AMQ-2448 - failed network bridge being incorrectly recorded in a list (and leaked), issue introduced by https://issues.apache.org/activemq/browse/AMQ-2298 now resolved by reusing exsiting correctly managed list of bridges
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@824807 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 15:30:50 +00:00
Bosanac Dejan
a84bbc1de8
using javadoc 2.5 plugin, with some extra options, since 2.6 doesn't work well with site plugin
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@824790 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 14:40:27 +00:00
Gary Tully
8e59e24905
resolve duplicate message issue from: https://issues.apache.org/activemq/browse/AMQ-2439
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@822811 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 17:41:21 +00:00
Bosanac Dejan
27183f8cc8
https://issues.apache.org/activemq/browse/AMQ-2443 - sendAdvisoryIfNoConsumers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@822797 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 16:37:28 +00:00
Bosanac Dejan
dd957fae8c
https://issues.apache.org/activemq/browse/AMQ-2441 - timestampbroker fix
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@822295 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 14:39:27 +00:00
Bosanac Dejan
869401136e
https://issues.apache.org/activemq/browse/AMQ-2442 - stomp and xmpp tests on ibm jdk 6
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@822231 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 11:57:04 +00:00
Hiram R. Chirino
bfed2c0e00
AMQ-2439: Adding test cases for JDBC too.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@821115 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 17:59:38 +00:00
Bosanac Dejan
4e1d383555
https://issues.apache.org/activemq/browse/AMQ-2437 - jdbc recovery
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@821106 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 17:30:23 +00:00
Hiram R. Chirino
1d5bcaf274
AMQ-2439: Unit test for the kahadb message store
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@821103 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 17:14:25 +00:00
Hiram R. Chirino
bdd9e2a8cd
AMQ-2439: KahaDB + Network of Brokers + Restart = Duplicate Messages that cannot be removed from the data store
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@821090 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 16:46:37 +00:00
Bosanac Dejan
94708a284d
https://issues.apache.org/activemq/browse/AMQ-2436 - jdbc sync under high load
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820955 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 10:42:14 +00:00
Hiram R. Chirino
915a91150a
Reverting pom change that snuck in with my previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820714 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 16:48:48 +00:00
Hiram R. Chirino
a24133e1e3
AMQ-2435: NullPointer Exception Occurs when using producer flow control
...
When producer window based flow control kicks in now, we copy the context since it will be
changed while the message send request is waiting for space on the queue.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820713 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 16:46:37 +00:00
Hiram R. Chirino
af10622e7a
Still working on AMQ-2414.. hopefullly this resolves the auto creation of MySQL Cluster tables.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820031 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 17:06:17 +00:00
Hiram R. Chirino
282f145f08
reverting rev 818936 re: issue AMQ-2414
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@820010 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 16:14:49 +00:00
Bosanac Dejan
2e6443ba2b
https://issues.apache.org/activemq/browse/AMQ-1886 - preventing problems with spring transactions
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@819998 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 15:53:38 +00:00
Bosanac Dejan
74148299dc
https://issues.apache.org/activemq/browse/AMQ-2413 - prevent test failures on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@819493 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 10:37:57 +00:00
Timothy A. Bish
87cdbbe961
Apply fix for: https://issues.apache.org/activemq/browse/AMQ-2426
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@819035 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 21:45:23 +00:00
Robert Davies
41b7acb0ba
added synchronization around remove()
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818955 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 18:59:02 +00:00
Hiram R. Chirino
9f6efd4b1f
AMQ-2414: Fixing the failing create tables problem on MySQL cluster.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818936 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 18:10:12 +00:00
Hiram R. Chirino
d948c179da
Was part of AMQ-2414: reduce verbosity of expection traces in the console.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818923 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 17:35:30 +00:00
Hiram R. Chirino
5d2f52f0d6
AMQ-2414: Support mysql cluster configurations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818905 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 16:14:05 +00:00
Hiram R. Chirino
80ac49db97
AMQ-2416: Provide xbean xml elements for the JDBC adapter classes to support the simpler XML configuration syntax
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818888 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:41:33 +00:00
Bosanac Dejan
680ebe017b
makes test pass on slower machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818812 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 10:38:20 +00:00
Robert Davies
960e65df65
Apply patch for https://issues.apache.org/activemq/browse/AMQ-2413
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818762 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 08:10:56 +00:00
Hiram R. Chirino
1c34b2adc9
Fixing JMSConsumerTest failure: Test case made an invalid assumption.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818609 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 20:00:47 +00:00
Bosanac Dejan
a43311770f
adding commons net as optional osgi dependency
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818516 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 15:26:49 +00:00
Bosanac Dejan
68d34fd5a0
adding commons net as optional osgi dependency
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818513 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 15:16:27 +00:00
Robert Davies
b403707398
amended number of messages sent
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818510 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 15:14:00 +00:00
Hiram R. Chirino
7f534db142
Adding a modified version of the test case attached to AMQ2401. This test would fail quickly before the patch in revision 818487 was applied.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818496 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 14:33:58 +00:00
Hiram R. Chirino
ec821411aa
AMQ-2401: Applying patch which makes the DUPS_OK on Queue case use the same ack strategy that is used by AUTO_ACK.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818487 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 14:01:53 +00:00
Hiram R. Chirino
ded63631fd
AMQ-2405: Better tests for the kahadb corruption handling.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818484 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 13:46:30 +00:00
Robert Davies
c437eb08ce
remove noop test file
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818480 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 13:33:20 +00:00
Hiram R. Chirino
7b2a13e4e0
New test added in commit 818147 did not have any test methods.. Related to AMQ-2403
...
adding a noop test case so that way it does not fail the build. Perhaps the real test methods are still under development?
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818262 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 21:04:03 +00:00
Hiram R. Chirino
35658c7c7b
MQ-2404 : Configurable KahaDBStore verbosity.. -Dorg.apache.activemq.store.kahadb.LOG_SLOW_ACCESS_TIME=300 system prop now supported.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818224 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:46:21 +00:00
Robert Davies
6e7c4a4da9
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818176 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 17:51:45 +00:00
Hiram R. Chirino
c9500f45ef
AMQ-2405: Adding more robust/graceful disk corruption recovery logic.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818155 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 16:16:39 +00:00
Robert Davies
785454a366
Fix for https://issues.apache.org/activemq/browse/AMQ-2403
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818147 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 15:54:37 +00:00
Hiram R. Chirino
5efe421cdc
It's possible that an transport listener could generate a runtime exception while handling an exception. Add a handler for it so that we DEBUG log the event instead of letting
...
it propagate up which eventally kills the run thread and causes a System.err stack dump.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818138 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 15:27:27 +00:00
Robert Davies
09f156456f
Now memory limits are being set properly for a Destination - have to update the test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@818013 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 09:21:48 +00:00
Colin W Macnaughton
4245c355dd
Changing memory limit flow control warning messages to be one time messages [ http://issues.apache.org/activemq/browse/AMQ-2401 ]
...
This avoids performance penalty of constant logging since under normal circumstance producers will be going in and out of flow control frequently.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817842 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 21:12:49 +00:00
Bosanac Dejan
db3a021384
https://issues.apache.org/activemq/browse/AMQ-2401 - fixes problem with low memory limits
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817713 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 16:06:17 +00:00
Bosanac Dejan
7dca53d690
https://issues.apache.org/activemq/browse/AMQ-2400 - fixing tab spaces
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817640 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:43:29 +00:00
Bosanac Dejan
d021e5b6c7
https://issues.apache.org/activemq/browse/AMQ-2400 - producer flow control log messages for topics
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817639 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:39:50 +00:00
Bosanac Dejan
ab60046336
https://issues.apache.org/activemq/browse/AMQ-2400 - producer flow control log messages for queues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817625 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:07:44 +00:00
Hiram R. Chirino
76381791e8
- refactored FactoryFinder so that it Implementation is pluggable.
...
- made an OSGi friendly strategy for it using a BundleActivator (needs testing)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@816444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 02:49:21 +00:00
Hiram R. Chirino
583d8490fa
Adding missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@816298 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:36:37 +00:00
Bosanac Dejan
7172be35bc
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@816197 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 14:02:19 +00:00
Bosanac Dejan
05a2c0773e
[maven-release-plugin] prepare release activemq-5.3.0
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@816195 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 14:01:35 +00:00
Robert Davies
7d4b446e67
fix some synchonization issues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@815788 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 14:04:20 +00:00
Gary Tully
5f2abc13c8
resolve intermittent failure of test for https://issues.apache.org/activemq/browse/AMQ-1687 - wait for messages needs to wait for the outstanding count rather than just 10
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@815684 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 09:20:50 +00:00
Robert Davies
a80e0619de
Tidied up fix for https://issues.apache.org/activemq/browse/AMQ-2071
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@815321 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 13:24:06 +00:00
Gary Tully
fd976da1b5
tidy info message
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814758 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 18:06:24 +00:00
Gary Tully
72b941603a
resolve some failures and ref to old config namespace
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814757 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 18:05:43 +00:00
Gary Tully
039a15fc13
allow embedded broker with kahaDB to exit without stop - make writer threads Daemon
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814649 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 14:04:19 +00:00
Gary Tully
8ed1589312
ensure generated xsd is available to test phase
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814648 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 14:02:43 +00:00
Robert Davies
31ecfae934
Fix for https://issues.apache.org/activemq/browse/AMQ-2385
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814639 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 13:43:54 +00:00
Robert Davies
3720e847d1
Fix for https://issues.apache.org/activemq/browse/AMQ-2385
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814638 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 13:39:32 +00:00
Robert Davies
f3b1ea9cfb
Fix for https://issues.apache.org/activemq/browse/AMQ-2391
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814627 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 13:12:46 +00:00
Robert Davies
7da608c411
Fix for https://issues.apache.org/activemq/browse/AMQ-1813
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813980 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 18:49:23 +00:00
Robert Davies
7eac1f7132
Apply patch from https://issues.apache.org/activemq/browse/AMQ-2002
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813965 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 18:08:25 +00:00
Robert Davies
e7c9d21660
Apply patch from https://issues.apache.org/activemq/browse/AMQ-2002
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813962 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 18:06:11 +00:00
Robert Davies
e01acf44ca
patch applied for https://issues.apache.org/activemq/browse/AMQ-2191
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813927 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 17:10:49 +00:00
Robert Davies
42282810a8
Fix for https://issues.apache.org/activemq/browse/AMQ-2387
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813906 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:16:08 +00:00
Robert Davies
b7179731ff
Added some more information in the comments about how to use
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813764 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 10:30:17 +00:00
Gary Tully
28443226b6
test case for: https://issues.apache.org/activemq/browse/AMQ-2383 - works on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813734 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 09:17:43 +00:00
Bosanac Dejan
0e8eadb8fb
https://issues.apache.org/activemq/browse/AMQ-2386 - stomp+nio using selectors
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813722 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 08:47:11 +00:00
Gary Tully
673fee193d
resolve https://issues.apache.org/activemq/browse/AMQ-2381 - patch applied with thanks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813721 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 08:46:40 +00:00
Bosanac Dejan
d4133c4de8
https://issues.apache.org/activemq/browse/AMQ-2239 - stomp+nio transport implementation
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813703 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 07:57:05 +00:00
Gary Tully
5c405cbfd8
resolve https://issues.apache.org/activemq/browse/AMQ-2342 - update to xbean 3.7-SNAPSHOT pending 3.6 release - auto generation of xsd is back - seems to work ok for broker definitions in spring contexts etc.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813525 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 17:47:43 +00:00
Gary Tully
dfd525fd96
use int editor for int parameter
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813471 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 15:08:53 +00:00
Gary Tully
356c39dcfc
expose journal writeBatchSize and tidy up xbean annotations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813469 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 15:05:55 +00:00
Robert Davies
98497b1930
Fix for https://issues.apache.org/activemq/browse/AMQ-2071 and
...
https://issues.apache.org/activemq/browse/AMQ-2070
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813422 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:19:52 +00:00
Robert Davies
aead3e0fc0
set flow control as a policy
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813384 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 11:44:07 +00:00
Robert Davies
a831a08abb
backOffMultiplier now a double in RediliveryPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813324 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 09:14:12 +00:00
Bosanac Dejan
df8ae3821a
https://issues.apache.org/activemq/browse/AMQ-1894 - revert enableJournalDiskSyncs to true and specifically set it in throughput config
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812943 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:19:43 +00:00
Robert Davies
487f2cca03
Fix for https://issues.apache.org/activemq/browse/AMQ-910
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812932 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:03:03 +00:00
Bosanac Dejan
f89bf4765f
https://issues.apache.org/activemq/browse/AMQ-1894 - throughput configuration and changed default kahadb properties
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812885 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 11:09:03 +00:00
Robert Davies
6c86745810
Test case for https://issues.apache.org/activemq/browse/AMQ-1687
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812873 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 10:18:27 +00:00
Gary Tully
e1a2d7dc75
resolve potential npe in test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812872 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 10:11:16 +00:00
Gary Tully
e79239531e
remove host resolution dependency on test for: https://issues.apache.org/activemq/browse/AMQ-2379
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812859 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 09:48:03 +00:00
Robert Davies
6fc3744c73
Fix for https://issues.apache.org/activemq/browse/AMQ-2379
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812514 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 14:02:21 +00:00
Bosanac Dejan
876ddef594
added stomp temp destinations test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812512 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:55:35 +00:00
Gary Tully
2b0a194416
make amq-2183 test auto fail as it hangs in hudson, add a thread dump to help diagnose
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812394 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:50:26 +00:00
Robert Davies
a33f73e202
remove System.err line
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812252 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 18:46:26 +00:00
Gary Tully
f7804bda6c
https://issues.apache.org/activemq/browse/AMQ-1112 - test both values of optimizedDispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812217 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 16:19:41 +00:00
Gary Tully
8d9f47aa48
https://issues.apache.org/activemq/browse/AMQ-1112 - resolve issues with optimizedDispatch, no need for message expiry to respect optimizeDispatch - iterate can always use the task runner in the expiry case, similar to usage change
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812214 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 16:08:06 +00:00
Robert Davies
c1051c8ee1
Fix for https://issues.apache.org/activemq/browse/AMQ-2378
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812139 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 13:52:45 +00:00
Gary Tully
26d147afe2
remove dependence on host name resolution to resolve failure on some machines, https://issues.apache.org/activemq/browse/AMQ-1855
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812046 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 09:12:34 +00:00
Bosanac Dejan
0cdda142d7
https://issues.apache.org/activemq/browse/AMQ-1112 - returning to the default wait timout
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812039 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 08:48:57 +00:00
Bosanac Dejan
5510065ef1
https://issues.apache.org/activemq/browse/AMQ-1112 - optimizeDispatch makes this test hang, commented it out for the moment, but should be investigated further
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812038 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 08:43:31 +00:00
Robert Davies
c459784012
Fix for https://issues.apache.org/activemq/browse/AMQ-2356
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811425 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 14:25:18 +00:00
Gary Tully
b0e3570652
resolve some timing issues that caused intermittent failure of the test for: https://issues.apache.org/activemq/browse/AMQ-1855 - also wait a little longer for a close to complete before restarting
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811371 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 12:47:00 +00:00
Robert Davies
db5cbc16ae
explicitly set flow control
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811341 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 11:12:02 +00:00
Robert Davies
dd9c10dfde
Disable flow control by default in the PolicyEntry - for https://issues.apache.org/activemq/browse/AMQ-2318
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811291 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 08:54:44 +00:00
Robert Davies
1e7881f5ca
Fix for https://issues.apache.org/activemq/browse/AMQ-2374
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811262 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 08:19:43 +00:00
Bruce Snyder
87589d787f
AMQ-1972 - Fix for leaking connections
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811069 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 18:28:41 +00:00
Gary Tully
8f9ecf0aaa
delete seems to be missing from one test that fails intermittently, adding it in
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811019 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:43:08 +00:00
Gary Tully
bf32e4f7da
giving this test a little more time as it may be exposing a threading issue with a blocked reconnect
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811017 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:30:50 +00:00
Gary Tully
d88004fe5d
resolve https://issues.apache.org/activemq/browse/AMQ-2346 - TransactionContext XA state needs to be static to be shared across XAResource views
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811003 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:54:53 +00:00
Robert Davies
a0426cbd5c
updated how retroactive tests get destination name - so will actually test the SubscriptionPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@810417 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 08:48:24 +00:00
Robert Davies
34b123ebb6
use a CopyOnWriteSet instead of a Map - to reduce memory footprint
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@810062 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 14:05:27 +00:00
Gary Tully
5221cd349d
add some trace
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@809940 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 09:44:34 +00:00
Robert Davies
612437c155
Fix for https://issues.apache.org/activemq/browse/AMQ-2364
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@809395 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:21:50 +00:00
Gary Tully
5d42b72218
resolve https://issues.apache.org/activemq/browse/AMQ-1855 - effects multicast discovery also; disposed is now atomic and the bridge.stop() waits for shutdown info to be sent before closing the transport, this will alleviate the InvalidClientIDException. bridges are now only remembered after they start which alleviates the retry problem with a failed bridge remaining, added test that exercises the code but which does not demonstrate the behavour on a dual core
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@808890 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 14:16:29 +00:00
Gary Tully
30db300a1a
add new policyEntry attributed to schema for : https://issues.apache.org/activemq/browse/AMQ-1112
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@807969 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 11:51:18 +00:00
Bosanac Dejan
d295d21a13
https://issues.apache.org/activemq/browse/AMQ-2183 - minor test modification to prevent intermittent failures
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@806108 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 10:21:14 +00:00
Bosanac Dejan
ea44017640
fix for https://issues.apache.org/activemq/browse/AMQ-2359 - staticallyIncludedDestinations and duplicate messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@806107 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 10:17:05 +00:00
Bosanac Dejan
7d5131eaca
fix for https://issues.apache.org/activemq/browse/AMQ-2360 - destination filters and destination types
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@806105 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 10:13:38 +00:00
Robert Davies
317c438825
Apply patch for http://issues.apache.org/activemq/browse/AMQ-1998
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@805873 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:38:45 +00:00
Bosanac Dejan
0a95b7e309
fix for https://issues.apache.org/activemq/browse/AMQ-2302 - enqueue/dequeue count for connections
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@805396 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 12:49:44 +00:00
Gary Tully
39e63c0051
apply parameters from discoveryURI to subsequent network connections so that options like inactivityTimeout can be configured on all discovered uris
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@805361 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 11:13:08 +00:00
Bosanac Dejan
b0f24f34d0
additional fix for https://issues.apache.org/activemq/browse/AMQ-1807 - fixing test case and making it work
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@804943 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:43:34 +00:00
Bosanac Dejan
a15e6efabd
https://issues.apache.org/activemq/browse/AMQ-1807 - aborting transaction test revisited + solution
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@804192 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 12:29:58 +00:00
Bosanac Dejan
c2205356ff
https://issues.apache.org/activemq/browse/AMQ-1095 - improved test case configuration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@804137 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 09:25:00 +00:00
Gary Tully
dbcb7e41a9
allow journalMaxFileLength config to take xGb or ymb string notation and truncate to int to remain within limits of kahadb page
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@804124 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:28:07 +00:00
Bosanac Dejan
a5ac040531
improvement for https://issues.apache.org/activemq/browse/AMQ-1936 - improve vm transport stopping performances
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@803907 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 14:47:48 +00:00
Bosanac Dejan
813d590c8c
http://issues.apache.org/activemq/browse/AMQ-1936 - waiting for 20 mins for all messages to arrive is not good in CI environments
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@803554 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:19:57 +00:00
Gary Tully
ae0e687ac0
fix ref to reflect maxFilelength an integer
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@802783 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:18:02 +00:00
Gary Tully
c42d980db8
revert change of max file size to long as it will impact index size and 2gb is a reasonable max atm
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@802781 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:13:33 +00:00
Gary Tully
880f3d6811
file size limit should be a long
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@802709 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 09:51:08 +00:00
Gary Tully
1d4d0e4679
expose new options - https://issues.apache.org/activemq/browse/AMQ-2338
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@802109 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 18:01:31 +00:00
Gary Tully
687944284d
make keepAliveResponseRequired optional in the inactivity monitor - https://issues.apache.org/activemq/browse/AMQ-2351
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@802086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:49:07 +00:00
Gary Tully
6b283abdd0
resolve https://issues.apache.org/activemq/browse/AMQ-2350 - amq may not have exclusive access to the propertyEditorManager
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801989 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 13:16:56 +00:00
Bosanac Dejan
1a6279e170
fix for https://issues.apache.org/activemq/browse/AMQ-2280 - stomp transactions and multiple destinations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801916 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 09:18:23 +00:00