Commit Graph

5655 Commits

Author SHA1 Message Date
Gary Tully 7eb8f0fd73 findbugs: fix infinite recursion
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:21:27 +00:00
Timothy A. Bish 5774d004f8 https://issues.apache.org/jira/browse/AMQ-3653
Fix the test so that there's time for the Ack to be processed before the connection is closed otherwise it can be missed.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1232457 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 16:14:16 +00:00
Gary Tully 221da8bcd2 https://issues.apache.org/jira/browse/AMQ-3639 - Modify MKahaDB To Support Using One Adapter Per Destination Without Explicity Listing Every Desintation In The Configuration. Add perDestination boolean attribute to mKahaDb filtered adapter. When true, every destination will get its own persistence adapter using the configured adapter as as template. So any config applied to the destination less (default) adapter will be reused
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1231979 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 12:47:45 +00:00
Timothy A. Bish 580635473d fix for: https://issues.apache.org/jira/browse/AMQ-3659
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1231124 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 15:24:22 +00:00
Timothy A. Bish 71e228fe92 fix for NPE: https://issues.apache.org/jira/browse/AMQ-3649
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1231081 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 14:10:11 +00:00
Timothy A. Bish 0e95460e0a Update Javadoc for: https://issues.apache.org/jira/browse/AMQ-3652
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227591 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 13:46:09 +00:00
Bosanac Dejan a35fdd13fb https://issues.apache.org/jira/browse/AMQ-3653 - content-length in ack frames
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227577 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 13:00:00 +00:00
Hiram R. Chirino 71d5fef019 Fixes AMQ-3651 : If the broker binds RMI registry port when it starts up, the broker should release RMI registry port when it shuts down
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227186 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 15:20:55 +00:00
Hiram R. Chirino 1753a699e0 Allow attaching an entryLocator and dataLocator to message ids. These fields are for message stores to associate store keys with messages ids when the messages
get persisted to disk.  Should allow stores to perform faster message loads since the store may be able to bypass a key lookup.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227185 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 15:16:11 +00:00
Hiram R. Chirino d95658f4b4 Allow LRUCache subclasses to trap eviction events
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227183 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 15:12:58 +00:00
Hiram R. Chirino 78761cb348 Remove trailing ; at end of class declaration.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1226974 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 22:31:38 +00:00
Bosanac Dejan 4a7475d7c2 https://issues.apache.org/jira/browse/AMQ-3374 - don't count every write in transaction size as only the number of pages we keep in memory is relevant (multiple writes to the same page will overwrite themselves)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1224890 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 10:41:28 +00:00
Willem Ning Jiang 9a9fccbea4 Updated the copyright date of the activemq-web-demo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1224694 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 08:48:51 +00:00
Willem Ning Jiang e8074fdc0f Upgrade xbean spring to 3.9
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1224693 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 08:20:16 +00:00
Gary Tully 89f22dacac https://issues.apache.org/jira/browse/AMQ-3646 - Allow KahaDB to run without disk syncs, higher through put without the jms persistence guarantee. Allow 0 peroid to disable checkpoint/cleanup. Allow jmx gc operation to invoke cleanup so that store gc can be initiated via jms to ensure disk is reclaimed. Ensure periodic checkpoint does not sync when enableJournalDiskSyncs=false, it waits for completion but does not force to disk. fix cached buffer allocation and refactor to reuse more code in CallerBufferingDataFileAppender
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222705 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 15:44:52 +00:00
Bosanac Dejan 46e6cc01fc https://issues.apache.org/jira/browse/AMQ-3645 - shell script improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222650 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 11:43:27 +00:00
Gary Tully 384388fe62 CallerBufferingDataFileAppender, fix rollover of cached buffers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222635 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 10:48:38 +00:00
Gary Tully bb4a2f73f4 add experimental appender that takes the buffering burden from the writer thread, it and some trace enabled via -Dorg.apache.kahadb.journal.appender.WRITE_STAT_WINDOW=10000 -Dorg.apache.kahadb.journal.CALLER_BUFFER_APPENDER=true. Additional accessors on KahaDb to further configure index for the fast but may need recovery case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222471 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 21:44:01 +00:00
Timothy A. Bish cb1b92bf58 apply patch and add test for: https://issues.apache.org/jira/browse/AMQ-3436
Some modifications needed for the patch to work correctly.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222275 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 15:15:48 +00:00
Timothy A. Bish d97e8fe354 Replace the System.out calls with loggers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222250 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 14:23:25 +00:00
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