Commit Graph

3110 Commits

Author SHA1 Message Date
Gary Tully f82dc25eae resolve https://issues.apache.org/activemq/browse/AMQ-2635
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@918384 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 10:28:54 +00:00
Gary Tully f33e2190d0 resolve https://issues.apache.org/activemq/browse/AMQ-2630 - added test and restricted imlementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@918381 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 10:15:10 +00:00
Robert Davies f782fc0b4a makesure assertEquals() is comparing to long values
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917969 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 11:20:42 +00:00
Gary Tully 50dadbb877 fix intermittent failure with test, was forwarding to same destination which made it timing dependent
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917628 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:17:51 +00:00
Gary Tully 77116d41cc resolve test failures, all test xml must now validae post https://issues.apache.org/activemq/browse/AMQ-2547 - upgrading trunk to spring 3.0.1.RELEASE
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916937 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 10:11:16 +00:00
Gary Tully 7f8c822a20 resolve https://issues.apache.org/activemq/browse/AMQ-906 - have retries with autoack and runtime exception from onMessage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916936 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 10:07:05 +00:00
Hiram R. Chirino 1f521da77e Updated the TransportConnector and TransportConnection to use a thread pool when initalizing and destroying connection to better support fast
connect and disconnect use cases.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916780 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:40:31 +00:00
Hiram R. Chirino 662324caac Better selector synchonization to help resolve AMQ-2440
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916762 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:14:40 +00:00
Gary Tully 3e4fc0a678 resolve https://issues.apache.org/activemq/browse/AMQ-2628 - add consumerId to message dicarded advisory to allow correlation with the dlq, change to the brokerservice advisory api
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916255 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 11:39:53 +00:00
Gary Tully 156a6095c4 variation on https://issues.apache.org/activemq/browse/AMQ-2626 - add vmcursor eviction test, shows similar issues also fix potential hang when connection is shutdown and producer is waiting for space in pending messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915809 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 14:46:21 +00:00
Gary Tully a2af47bd1d resolve https://issues.apache.org/activemq/browse/AMQ-2626 - ensure reference count is decremented on non evicted messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915770 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 12:53:37 +00:00
Gary Tully f24edca190 resolve some issues with out of order remove from plist
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915281 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 11:07:53 +00:00
Robert Davies d71eefc0bf separated initialisation from start() - to prevent unnecessary creation of temporary storage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915028 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 19:31:23 +00:00
Robert Davies 241af099f1 removed topic test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915010 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:40:04 +00:00
Robert Davies ac0462acef Fix for https://issues.apache.org/activemq/browse/AMQ-2616
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 16:54:23 +00:00
Robert Davies eb51a69c1f Fix for https://issues.apache.org/activemq/browse/AMQ-2533
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912496 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 07:05:04 +00:00
Robert Davies b341d4334f Validate that subscriptions are removed across a network of brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912495 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 06:59:53 +00:00
Robert Davies 1c26c9aba0 Applied patch for https://issues.apache.org/activemq/browse/AMQ-2455
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 07:36:55 +00:00
Robert Davies baf9301a52 speed up Durable Topic Subscribers somewhat
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912087 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 08:37:20 +00:00
Gary Tully 5619cd01a2 resolve https://issues.apache.org/activemq/browse/AMQ-2610 - org.apache.activemq.broker.region.cursors.PendingMessageCursor.next() now increments the reference count before returning a message reference. this allows control over references when browsing or peeking rather than moving/removing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 23:49:41 +00:00
Bosanac Dejan ceed011907 https://issues.apache.org/activemq/browse/AMQ-2617 - refactor ProtocolConverter so we can reuse it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 14:20:03 +00:00
Robert Davies c75001c5a4 updated some perf tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911076 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:07:40 +00:00
Gary Tully af31f2dc00 fix plist destroy, intermittent failure of src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911055 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 16:29:16 +00:00
Gary Tully 0567645ec6 resolve https://issues.apache.org/activemq/browse/AMQ-2608, fix applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910637 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 18:19:36 +00:00
Gary Tully 5bf2329ee7 resolve https://issues.apache.org/activemq/browse/AMQ-2607
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910315 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 19:43:54 +00:00
Gary Tully d3fb1aabce resolve https://issues.apache.org/activemq/browse/AMQ-2599 - tidy up exmple config to make it compliant with the schema - added simpe schema validation test and extended the broker start test, mvn test in assembly will now validate all the configs. added destroyApplicationContextOnStop to ensure jetty and other additions to the context are cleaned up when broker stops, allows mulitple brokers to rerun in the same jvm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910238 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:34:58 +00:00
Robert Davies a65881cf4e Fix for https://issues.apache.org/activemq/browse/AMQ-2604
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910163 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 05:55:31 +00:00
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