Commit Graph

2803 Commits

Author SHA1 Message Date
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
Robert Davies c866f88d23 Added some helper methods so clients can use Advisories without needing to use too much ActiveMQ specifics (other than this class)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801779 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 19:14:47 +00:00
Bosanac Dejan 52f48db0d9 fix for https://issues.apache.org/activemq/browse/AMQ-1886 - jdbc adapter without journal + test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801612 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 11:46:35 +00:00
Bosanac Dejan 8c4ded486e fix blob tests to work with embedded ftp server
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801551 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 09:12:10 +00:00
Gary Tully afd706f11d insert that test dependency I just mentioned
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801314 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 17:16:06 +00:00
Gary Tully 200f06bbff enable ftpblob test - pull in test dependency on apache ftpserver
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801312 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 17:14:17 +00:00
Bosanac Dejan c6c91252e5 improved test case for for https://issues.apache.org/activemq/browse/AMQ-1807 - stomp dispatching
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 14:46:25 +00:00
Bosanac Dejan ea1082899a returning xstream factory bean (a bit modified), mistekanly deleted yesterday
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801197 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:50:04 +00:00
Robert Davies dab69242d5 Fix for https://issues.apache.org/activemq/browse/AMQ-2328
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801075 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 06:35:56 +00:00
Bosanac Dejan 0479a4eddb fixing deprecated methods usage and other compiling warnings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800776 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 13:36:39 +00:00
Bosanac Dejan 538d07e5bb https://issues.apache.org/activemq/browse/AMQ-2343 - decouple sendFailIfNoSpace from producer flow control
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800738 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 11:53:22 +00:00
Bosanac Dejan 472782ad8f adding missing dependency java.util.Set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800727 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 10:31:15 +00:00
Robert Davies 398f8ecbff The property org.apache.activemq.UseDedicatedTaskRunner should ignore caps
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800380 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 13:48:17 +00:00
Bosanac Dejan ced6909078 fix for https://issues.apache.org/activemq/browse/AMQ-2330 - mbean descriptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 12:40:13 +00:00
Robert Davies ac4545b40d Refactored ManagementContext to improve encapsulation - so all registrations of MBeans happen in one place
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 12:37:29 +00:00
Robert Davies d779c4aecd Applied patch for https://issues.apache.org/activemq/browse/AMQ-2339
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800274 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 09:54:48 +00:00
Robert Davies b08ae50743 Added patch for https://issues.apache.org/activemq/browse/AMQ-1744
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800235 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 07:42:43 +00:00
Hiram R. Chirino fbc5eb5eb0 Implemented:
https://issues.apache.org/activemq/browse/AMQ-2338
 https://issues.apache.org/activemq/browse/AMQ-2337



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 20:10:05 +00:00
Robert Davies 1ec71bdff1 Refactored ManagementContext to improve encapsulation - so all registrations of MBeans happen in one place
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799706 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 19:19:07 +00:00
Gary Tully 9caa5c8d4d more hardening for intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799631 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 15:06:27 +00:00
Gary Tully c20430459a test still failing on solaris with slow disk, reducing log output and adding a thread dump if it fails to help diagnose: https://issues.apache.org/activemq/browse/AMQ-1936 - need to exclude a hung consumer case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799560 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 09:37:32 +00:00
Gary Tully e4b76014c6 make test resiliant to message expiry before enqueue that can ocurr under load/slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799538 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 08:03:41 +00:00
Gary Tully dbefbecf1a attempt to prevent receive blocking in the event of messages present on slower machines or solaris
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799336 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 15:49:08 +00:00
Robert Davies fc63a92339 Fix for https://issues.apache.org/activemq/browse/AMQ-1846
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@799090 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 21:40:29 +00:00
Gary Tully d5333d4e44 with warn level logging this becomes too verbose in production envs, reverting the warn level, info still available using debug level: https://issues.apache.org/activemq/browse/AMQ-2158
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798931 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 14:58:32 +00:00
Gary Tully a27709b086 make test more tolerant to slower machines, replace sleep with timed wait : https://issues.apache.org/activemq/browse/AMQ-1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798859 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 11:35:41 +00:00
Gary Tully 763e331318 make test more tolerant to slower machines, resolve intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798852 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:46:38 +00:00
Gary Tully 6f3c99991d resolve https://issues.apache.org/activemq/browse/AMQ-2075 - async dispatch of brokerInfo could end up getting dispatched after messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798842 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:26:19 +00:00
Robert Davies 66dd8cdae3 Fix for https://issues.apache.org/activemq/browse/AMQ-2335
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798785 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 05:24:24 +00:00
Gary Tully 8274f09dd4 resolve https://issues.apache.org/activemq/browse/AMQ-1191 by introducing driver specific locker so that impl for sql_server can diverge from those of oracle etc. Thus the patch is applied to a transact sql specific impl - the impls are defined in a resoruce file in the same way as the adapters. The default locker now remains unchanged. Also updated to the latest stable jmock 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798602 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 16:44:47 +00:00
Gary Tully a8d3908586 resolve intermittent hang of JDBCQueueMasterSlaveTest - shutdown of the executor used to check the db lock during shutdown may cause the shutdown thread to interrupt and die before shutdown is complete. A wait for shutdown to complete can hang forever. Just cancelling the periodic tasks is sufficient
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 23:00:20 +00:00
Bosanac Dejan 444412f0df fix for https://issues.apache.org/activemq/browse/AMQ-1380 - upgrade to activeio 3.1.2 and remove backport dependencies
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797359 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 08:31:56 +00:00
Gary Tully f36aa55c4a improve assert information to help diagnose intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796983 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 09:00:40 +00:00
Gary Tully 432dcfeecf reenable test to verify https://issues.apache.org/activemq/browse/AMQ1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796734 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:12:36 +00:00
Gary Tully c94279e12e add some detail to the assertion to help diagnost intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:11:45 +00:00
Gary Tully 5a0f76d0f2 make test more tolerant to slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796694 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 13:10:31 +00:00
Gary Tully fb42a11835 resolve potential test hang if jdbc persistence adapter stop results in an exception, it should handle and log any exceptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796681 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:58:14 +00:00
Gary Tully 7f8eb612cd ensure a hang does not block full test run to determine if hang can be isolated
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796673 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:29:56 +00:00
Gary Tully 32acb34018 test case for https://issues.apache.org/activemq/browse/AMQ-2183
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796646 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:42:34 +00:00
Gary Tully f998d1b3dc suppress info message on failure to send remove command as this will always fail on shutdown for a vm connection which is ugly for the default config. leave it at debug level
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795914 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:52:44 +00:00
Gary Tully 3f32e76ac6 apply modified patch and test case to resolve: https://issues.apache.org/activemq/browse/AMQ-2216
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795848 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 14:12:48 +00:00
Gary Tully 5e90f00e8d defer task start till cursor is started - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 09:59:03 +00:00
Gary Tully a1bd85e0bc use non compencating schedualler and ensure DLQ copies message early - ensures accurate processing of expired messages - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 23:18:29 +00:00
Bosanac Dejan e5584e6e78 fix for https://issues.apache.org/activemq/browse/AMQ-2327 - close proxy consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795069 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:43:59 +00:00
Gary Tully ed0b08bbd9 resolve intermittent failure resulting from fix for https://issues.apache.org/activemq/browse/AMQ-2283 - match of url needs to take account of absent query parameters in broadcast address
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@794315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 16:03:24 +00:00
Bosanac Dejan 11e407ea45 modifying the tests so we can verify that all proxy consumers are closed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@794240 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 11:56:39 +00:00
Gary Tully ca242f4a34 resolve some issue with duplicate expiry due to concurrent execution with expiry task and dispatch/acks etc. some more tests for stats included - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@793892 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:59:19 +00:00
Bosanac Dejan 8c6e5dccea allow stomp test to run nicely on slower boxes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792911 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 12:20:51 +00:00
Bosanac Dejan d3649fc709 fix for https://issues.apache.org/activemq/browse/AMQ-1804 - connection factory xbean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792884 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 11:10:30 +00:00
Gary Tully dbe847e0da resolve https://issues.apache.org/activemq/browse/AMQ-2322 - test and correction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792598 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:26:42 +00:00
Gary Tully a72f26f0df resolve https://issues.apache.org/activemq/browse/AMQ-2321
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792591 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:00:29 +00:00
Gary Tully 5c15b52e51 give reconnect randomness some more time to kick in
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792538 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 13:00:40 +00:00
Gary Tully c19e93976c wait for broker start and jmx rmi endpoint for slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792533 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:48:48 +00:00
Gary Tully 63f14732c7 patched test from: https://issues.apache.org/activemq/browse/AMQ-1763 - still cannot reproduce
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792220 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:40:54 +00:00
Gary Tully bd1b10c207 resolve https://issues.apache.org/activemq/browse/AMQ-2283. In suppressing asyncColos I found the need to suppress brodcast of query parameters by the multicast discovery agent as server side and client side options are not compatible. Added support to the DiscoveryTransport to apply query parameters to each uri that it discovers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792127 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:00:44 +00:00
Gary Tully 2a6c87259c disable ProxyConnectorTest pending resolution of https://issues.apache.org/activemq/browse/AMQ-2050
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792078 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 09:25:28 +00:00
Gary Tully 7a59d284dc resolve https://issues.apache.org/activemq/browse/AMQ-1112 - fix issues with inflight count when messages expire on the consumer/client and on consumer close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791881 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 15:54:32 +00:00
Robert Davies 8c70e4a780 Added fix for https://issues.apache.org/activemq/browse/AMQ-1282
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791708 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 05:34:00 +00:00
Gary Tully c688b78617 remove broker topic version of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791593 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:58:24 +00:00
Robert Davies 5a0da57be8 Fix for https://issues.apache.org/activemq/browse/AMQ-2318
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791549 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 17:31:48 +00:00
Bosanac Dejan 5807370a24 swithcing to commons logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791466 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 12:43:29 +00:00
Gary Tully 7ac1bb8baa enable a few more expiry tests - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790957 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 16:07:04 +00:00
Gary Tully 00bb52bcde validate shared file system master/slave with single shared brokerurl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790929 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:34:46 +00:00
Gary Tully 6a121b33ed test for no consumer and expiry - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790928 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:33:44 +00:00
Gary Tully c6a485f90b first cut of resolution to deterministic expiry https://issues.apache.org/activemq/browse/AMQ-1112 - default period is 30 seconds, destination policy entry allows it to be specified or turned off (0)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790880 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 12:02:07 +00:00
Bosanac Dejan e583839810 excluding the test for https://issues.apache.org/activemq/browse/AMQ-1112 until it's fixed, so we can have successful builds
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790526 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:54:36 +00:00
Bosanac Dejan 5a8d59d107 fixing test for https://issues.apache.org/activemq/browse/AMQ-2303 - 200 consumers is too much for some linux machines, too many open files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790521 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:38:49 +00:00
Bruce Snyder 7da1e6eb80 Adding a test for AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790199 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 14:52:21 +00:00
Bosanac Dejan 101c35b8e8 final fix for https://issues.apache.org/activemq/browse/AMQ-2303 - durable subsciber recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790113 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 10:58:44 +00:00
Gary Tully b97dbff52a basic test case for https://issues.apache.org/activemq/browse/AMQ-1763 - but does not show the problem atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790087 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 09:28:56 +00:00
Bruce Snyder 0f1907138b Added a better exception and error message for exceeding the maximumConnections - AMQ-1928
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789851 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:52:12 +00:00
Gary Tully 22422ac5de have the test wait for advisories for slower machines, resolve intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789810 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 15:58:08 +00:00
Gary Tully a740183da2 remove check in inflight as it is not totally deterministic so this test randomly fails on some machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789691 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 12:23:01 +00:00
Bosanac Dejan d20da4460d temporary fix for durable consumer test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789626 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 08:56:03 +00:00
Bruce Snyder 7cf47287b8 Slight enhancements in logging for AMQ-2158
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789378 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 16:29:37 +00:00
Gary Tully 753b21047a apply patch for: https://issues.apache.org/activemq/browse/AMQ-2308 with thanks; apply fix for https://issues.apache.org/activemq/browse/AMQ-1993 to the client side
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789291 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 11:32:06 +00:00
Bosanac Dejan 2e7d2195cc fix for https://issues.apache.org/activemq/browse/AMQ-2303 - durable subsciber recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789283 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 10:41:30 +00:00
Gary Tully 3d6034b7eb resolve: https://issues.apache.org/activemq/browse/AMQ-2305 - think the correct fix is to have the masterBroker stop but not propagate the stop through the filter chain. if it does not stop then it will have a bunch of failures on sync with the slave. the issues is visible when a plugin is the next brokerfilter in the chain
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788757 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 16:38:01 +00:00
Gary Tully 5313490304 fix sync of getTx in transaction Store, could result in extra uncommited tx hanging about under high load
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788646 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 10:09:24 +00:00
Gary Tully a0b9aec6e9 test case for https://issues.apache.org/activemq/browse/AMQ-2305 - seems to work fine
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788429 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 16:57:14 +00:00
Gary Tully 3d77a2f90c add reduced version of patch from: https://issues.apache.org/activemq/browse/AMQ-2158 - warn on exceeding 80% - leave rest at debug level
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788316 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 10:50:34 +00:00
Bosanac Dejan 29e3702cfd test case for https://issues.apache.org/activemq/browse/AMQ-2303 - durable consumers recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788068 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 16:09:17 +00:00
Gary Tully e2778fbf7d apply modified suggstion from https://issues.apache.org/activemq/browse/AMQ-1191 - executeQuery conditional on statement metadata which works when statement does not return a result set like with derby which is used in the unit tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@787990 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 12:04:50 +00:00
Gary Tully 9670af1e0d resolve https://issues.apache.org/activemq/browse/AMQ-2298 - respect priority when suppressing duplicate network subscriptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@787855 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 22:29:47 +00:00
Gary Tully 1ebc6eeb04 https://issues.apache.org/activemq/browse/AMQ-2290 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@786451 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 11:00:22 +00:00
Bosanac Dejan 2cdb51bb74 fix for https://issues.apache.org/activemq/browse/AMQ-2292 - ReadOnlyAsyncDataManager NPE
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@785525 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 09:31:54 +00:00
Bosanac Dejan 78e7221d3e fix for https://issues.apache.org/activemq/browse/AMQ-2291 - jdbc sequence changed to long
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784862 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 16:58:14 +00:00
Gary Tully 07822041b4 capture exception in log on slave start failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784711 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 10:11:24 +00:00
Robert Davies 1e821c5d41 updates xsd for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784348 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 08:10:08 +00:00
Robert Davies f82530d93b Added perf test for KahaDB and update XBeans for KahaDB Persistence Adapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784062 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 10:44:50 +00:00
Gary Tully 38b840a61f resolve https://issues.apache.org/activemq/browse/AMQ-2285 - pull file locking outside setting opened state so that an open does not ocurr unless the lock is available, sorts out Npe on shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@783384 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:59:02 +00:00
Gary Tully a88a513e3c fix file lock usage in kahadb store, so shared file system master slave can work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@783364 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:06:59 +00:00
Gary Tully fbddf4f868 resolve https://issues.apache.org/activemq/browse/AMQ-2274 - add simple Boolean PropertyEditor implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@783281 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 10:27:26 +00:00
Gary Tully 34f00a6a03 remove camel dependencies from core, now all in activemq-camel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782984 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 12:54:56 +00:00
Bosanac Dejan fee7f6a710 fix for https://issues.apache.org/activemq/browse/AMQ-2282 - ibm jdk test failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782037 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 15:08:24 +00:00
Gary Tully 7b78c36485 improve error message reporting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782030 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:25:35 +00:00
Gary Tully 32ff105a20 remove deprecated camel-swing dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782029 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:24:34 +00:00
Gary Tully 63baaf038a resolve: https://issues.apache.org/activemq/browse/AMQ-2277 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@781312 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 09:24:05 +00:00
Bosanac Dejan c43eda363b fix for https://issues.apache.org/activemq/browse/AMQ-2232 - jmx operations on secured broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@781022 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 12:48:47 +00:00
Bosanac Dejan 1d5440a1cd reopen https://issues.apache.org/activemq/browse/AMQ-1936 - excluded test case as it hangs on some linux machines ... needs to be ivestigated further
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@779556 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 10:45:47 +00:00
Gary Tully 684c901016 have failover transport use shared random generator so random can loadbalance in the same jvm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778777 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 15:55:49 +00:00
Robert Davies c2922ad1fc Added test case from Richard Yager for https://issues.apache.org/activemq/browse/AMQ-1918
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778622 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 08:49:11 +00:00
Gary Tully 7135a68559 disable nio test pending investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778124 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 12:07:36 +00:00
Robert Davies 25b216548d Fix for https://issues.apache.org/activemq/browse/AMQ-1629
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777821 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:49:39 +00:00
Robert Davies a77e964b92 Fix for https://issues.apache.org/activemq/browse/AMQ-2134
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777806 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 06:32:35 +00:00
Robert Davies c02d2462b5 INcrease Consumer Count
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777804 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 06:11:47 +00:00
Robert Davies 2b28443a05 Added test case for https://issues.apache.org/activemq/browse/AMQ-1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777803 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 06:11:28 +00:00
Gary Tully a707594a8d https://issues.apache.org/activemq/browse/AMQ-2262 and https://issues.apache.org/activemq/browse/AMQ-2265
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777716 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 21:23:48 +00:00
Hiram R. Chirino 2a1ec7c99e rolling back change committed in rev 777209
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:24:46 +00:00
Gary Tully 9b801d19d0 help with https://issues.apache.org/activemq/browse/AMQ-2262 when messages are discarded broker side
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777527 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:00:04 +00:00
Gary Tully b997d257d5 resolve https://issues.apache.org/activemq/browse/AMQ-2265, revert https://issues.apache.org/activemq/browse/AMQ-2262, inflight count stil needs work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777463 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 10:46:20 +00:00
Bosanac Dejan 461af7c9e1 fix for https://issues.apache.org/activemq/browse/AMQ-2262 - inflight message count
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777225 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 19:19:57 +00:00
Hiram R. Chirino e22a37a70e Extended the Marshaller interface so that users can determin if uses fixed size records. Kahadb should be able to make some optimizations
on fixed sized objects.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777209 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 18:34:45 +00:00
Gary Tully f7cba2a28e allow configuring the wireformat maxInactivityDurationInitalDelay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@776743 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 15:49:47 +00:00
Gary Tully bb153aeb12 reduce message to info when iteration takes > 100ms from warn
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775990 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 15:33:56 +00:00
Gary Tully 634a52a4a2 resolve https://issues.apache.org/activemq/browse/AMQ-2253
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775094 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 12:02:22 +00:00
Gary Tully 558ff7802d additional test for https://issues.apache.org/activemq/browse/AMQ-2233, broker in 5.2, works on trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775064 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 09:27:46 +00:00
Gary Tully 5414e76a85 allow access to selector manager instance so that number of nio channels per thread can be configured
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775058 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 09:02:04 +00:00
Gary Tully 1421317bd2 resolve https://issues.apache.org/activemq/browse/AMQ-2252 - deadlock with nio and optimizeDispatch and test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774829 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 15:46:52 +00:00
Bosanac Dejan 34ee8cc7dd rmoveing log4j surefire configuration as it clashes with CI tools. Should be uncommented manually
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774738 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 12:03:15 +00:00
Gary Tully 9124460797 fix intermittent failure of test, depended on two distinct calls to currentTimeMillis matching, needs a range check rather than equals
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 11:21:12 +00:00
Gary Tully 9383c6d697 resolve alternative path to https://issues.apache.org/activemq/browse/AMQ-2241 via ra where connection is reused. state tracker was not notified when remove command is suppressed and simulated during transport outage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774712 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 09:57:24 +00:00
Gary Tully 2407a7b4ec improve failure reporting in assert
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774431 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 16:57:42 +00:00
Bosanac Dejan 09bae42a83 partial fix for https://issues.apache.org/activemq/browse/AMQ-2238 - http transport improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774421 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 16:43:31 +00:00