Commit Graph

5635 Commits

Author SHA1 Message Date
Gary Tully 323eeda725 add scenario test for fast persistent enqueues to explore getting the broker to be disk bound
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222219 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:22:25 +00:00
Timothy A. Bish 5cc1a557ff fix for: https://issues.apache.org/jira/browse/AMQ-3625
Ensure that incoming commands get exception responses after the initial error is triggered so that client transports don't block wia intg for responses.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221484 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 20:42:18 +00:00
Timothy A. Bish c856f30bc5 fix for: https://issues.apache.org/jira/browse/AMQ-3625
applied patch to add the supplied test case.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221310 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 15:12:11 +00:00
Bosanac Dejan c534900092 https://issues.apache.org/jira/browse/AMQ-3496 - reply-to header for Stomp - fix test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221222 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:19:29 +00:00
Bosanac Dejan 1c264085d1 https://issues.apache.org/jira/browse/AMQ-3496 - reply-to header for Stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221199 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 11:06:40 +00:00
Gary Tully 882c5539d1 get a recept on send to ensure message gets there
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1220724 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 12:54:38 +00:00
Robert Davies 7da61d992f commit patch for https://issues.apache.org/jira/browse/AMQ-3618
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1215433 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 07:05:46 +00:00
Robert Davies aa3ab12234 Fix for https://issues.apache.org/jira/browse/AMQ-3638
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1215432 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 07:04:24 +00:00
Bosanac Dejan e72f43f8e6 https://issues.apache.org/jira/browse/AMQ-3636 - adding websockets example
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1215132 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 14:02:52 +00:00
Torsten Mielke e282571099 AMQ-3404: corrected PurgeCommand to correctly deal with message selectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1215056 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 08:18:57 +00:00
Timothy A. Bish 68bcf0fb15 fix for: https://issues.apache.org/jira/browse/AMQ-3615
Reduce contention by not sending an advisory for every destination when not all destination types are requested.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1214964 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 21:49:44 +00:00
Gary Tully 41cdadbe2a https://issues.apache.org/jira/browse/AMQ-3637 - NullPointerException while loading node from kahadb during vmcursor replay. Batch recovery such that expiry can be processed periodically which avoids a nested kahadb transaction that modifies. additional test and some additional logging when recovery is taking a long time
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1214888 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:44:47 +00:00
Bosanac Dejan 08b8a354ab https://issues.apache.org/jira/browse/AMQ-3504 - fixing websocket transport support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1214770 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 14:23:21 +00:00
Bosanac Dejan ecb10e9519 fix for DuplexNetworkTest failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1214700 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 11:10:07 +00:00
Timothy A. Bish 802f6b193a fix for: https://issues.apache.org/jira/browse/AMQ-3605
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213979 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 23:13:35 +00:00
Bosanac Dejan 5f7fc14e2e https://issues.apache.org/jira/browse/AMQ-3634 - corrupted index recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213743 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 15:43:53 +00:00
Timothy A. Bish cfcd4f7f64 apply patch for: https://issues.apache.org/jira/browse/AMQ-3624
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213691 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 13:42:37 +00:00
Gary Tully 2bfd88e87d https://issues.apache.org/jira/browse/AMQ-3294 - disable this test as it causes hudson to hang. need to investigate reuse of send timeout for all sync operations and maxreconnect attempts on failover transport to fix up correctly.. one to revisit for case where exception other than security exception comes back or nothing in the case of max connections exceeded
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213642 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 10:42:05 +00:00
Timothy A. Bish b6a3990d48 fix for: https://issues.apache.org/jira/browse/AMQ-3601
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213298 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 16:27:09 +00:00
Bosanac Dejan 4c8ab44698 https://issues.apache.org/jira/browse/AMQ-3632 - staticBridge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213210 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 12:25:19 +00:00
Gary Tully 8d0cf31f84 resolve intermittent failure, wait for both of the conduit subs to register before test initiation. additional accessors to make validation possible
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213209 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 12:22:11 +00:00
Gary Tully d4ccc50ea7 https://issues.apache.org/jira/browse/AMQ-3253 - rework to make recreation of temp destination more specific to use case, result is no advisories like https://issues.apache.org/jira/browse/AMQ-2571. This avoids the possibility of looping in a network. Additional test. Resolve race condition on destination advisories, a remove could overwrite an inflight add command. A copy is now in place for the remove
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1213208 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 12:19:43 +00:00
Gary Tully 9873e21aec https://issues.apache.org/jira/browse/AMQ-3628 - updated patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1212337 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 11:39:05 +00:00
Gary Tully 9df9d3e891 tidy up fix (exception was being lost) for URL: http://svn.apache.org/viewvc?rev=1209841&view=rev
Only stop transport for java.lang.SecurityException - as some tests rely on Connection continung after an exception from the broker
related to changes in support of fix for https://issues.apache.org/jira/browse/AMQ-3294 and https://issues.apache.org/jira/browse/AMQ-1928

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1211844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 11:44:36 +00:00
Gary Tully 760c62934d https://issues.apache.org/jira/browse/AMQ-3622 - NPE in LastImageSubscriptionRecoveryPolicy. patch variant applied and nice test./bin/activemq console xbean:conf/limit.xml Thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1211568 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 17:49:53 +00:00
Gary Tully 8bab1c1fb2 https://issues.apache.org/jira/browse/AMQ-3623 - Add DefaultTestAppender utility abstract class. patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1211533 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 16:56:50 +00:00
Torsten Mielke 2f72b71829 Added javadoc for BrokerService.start(boolean force) to discourage its use.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1210917 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 13:52:24 +00:00
Robert Davies 5bd4b19fab commit patch for https://issues.apache.org/jira/browse/AMQ-3618
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1210506 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 15:49:36 +00:00
Bosanac Dejan b7e31aca70 https://issues.apache.org/jira/browse/AMQ-3619 - create scripts improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1210504 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 15:45:46 +00:00
Robert Davies 712303e6ec only do delayStop () for SecurityExceptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1210503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 15:44:26 +00:00
Robert Davies da7f9962c6 Only stop transport for java.lang.SecurityException - as some tests rely on Connection continung after an exception from the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209841 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 07:15:12 +00:00
Robert Davies 3a71f8e33d Fix for https://issues.apache.org/jira/browse/AMQ-3294 and https://issues.apache.org/jira/browse/AMQ-1928
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209700 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 21:34:14 +00:00
Gary Tully f260b17488 fix typo in last remove, oops sorry
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209538 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 15:41:39 +00:00
Gary Tully d04c10845c have test wait for both network bridges before starting producer to check load balance
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209201 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 19:25:38 +00:00
Gary Tully 3a26442d92 extend the close wait for this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209195 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 19:15:16 +00:00
Gary Tully a2fc5bc492 https://issues.apache.org/jira/browse/AMQ-3614 - Unable to generate unique id when range of ports are blocked - org.apache.activemq.util.IdGenerator. Patch applied with thanks, left the log at warn as unique ids are important and two simultaneous clients could use the same id with this fallback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209162 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 17:25:46 +00:00
James Strachan f1bbaec66b made the xmlpull parser an optional dependency in osgi-land. For some reason mavne bundle plugin doesn't figure this out; transitive dependences on optional dependences don't seem to get marked as optional
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 15:20:32 +00:00
Gary Tully 6590d4b3d0 remove duplicate code removing advisories, handled cleanly in advisory broker already, additional load on destination map. Only on remove dest opts through, so impact is mostly small. better all the same. may lead to reduction in acces modes for the destination map
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209058 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 12:48:51 +00:00
Gary Tully 3b7507f6b7 https://issues.apache.org/jira/browse/AMQ-2524 and https://issues.apache.org/jira/browse/AMQ-3092 - two competing fixes for the same underlying issue. Use a combination of the changes, disposed without the duplicate check for existance in the destinations. Removes one additional query on the destinations map
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209046 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 11:54:47 +00:00
Gary Tully dad86e6891 ensure the reason is visible in a failure to accept connection due to oom
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209045 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 11:54:13 +00:00
Gary Tully 3c3feb49a6 https://issues.apache.org/jira/browse/AMQ-3613 - rename rendezvous discovery to zeroconf
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1208660 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 18:31:22 +00:00
Gary Tully 599abc58bb https://issues.apache.org/jira/browse/AMQ-2730 - test to validate there is no implicit limit on reconnects due to the task runner exceeding its iterations, if the task is not complete it re queues it, so at least on trunk, the taskrunner issue is resolved
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1208377 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 10:58:21 +00:00
Gary Tully 44488a5bc3 https://issues.apache.org/jira/browse/AMQ-3607 - added test case and use of connectionFactory.setOptimizeAcknowledgeTimeOut, the test is breaking becauee of message discarding when the acks are not immediate, made some small mods to make the test work and fixed up the setter for connectionFactory.setOptimizeAcknowledgeTimeOut
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1208048 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 19:52:37 +00:00
Gary Tully c9414c4a6d https://issues.apache.org/jira/browse/AMQ-3611 - Revert the Oracle jdbc adapter to a variant of the default jdbc adapter in place of the one supporting blobs. added oracleBlobJDBCAdapter for backward compatibility and latest oracle adapter extends the default adapter so it no longer manipulates blobs directly, works fine with the latest ojdbc6 driver
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207963 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 16:49:02 +00:00
Gary Tully 21541daf84 reduce duration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207715 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 00:11:02 +00:00
Gary Tully c70952723c reduce the duration of this tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207713 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 00:07:23 +00:00
Gary Tully 8e0cc676d8 reduce the duration of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207699 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 23:31:58 +00:00
Gary Tully 395bf82f80 https://issues.apache.org/jira/browse/AMQ-2868 - fix issue with blocked transaction completion in highly concurrent systems. It was possible to miss an after completion callback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207693 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 23:20:07 +00:00
Gary Tully 6813691a3d https://issues.apache.org/jira/browse/AMQ-3609 - Turn inactivity monitor thread off by default, new default 0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207239 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 14:44:56 +00:00
Gary Tully 00fb101e2a https://issues.apache.org/jira/browse/AMQ-3454 - all the little performance test, non imperative
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1207231 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 14:37:15 +00:00