Commit Graph

3006 Commits

Author SHA1 Message Date
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