Commit Graph

2523 Commits

Author SHA1 Message Date
Robert Davies 76c466ddef small op
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509720 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 19:40:20 +00:00
Robert Davies 341a1d4753 small op
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509717 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 19:25:30 +00:00
James Strachan b006e61e4f Handle duplicate destinations & concurrency issues better
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509706 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 18:59:02 +00:00
James Strachan bca88fee18 Used toString() on destinations to avoid issues with StompConnect
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509705 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 18:58:34 +00:00
Robert Davies f5b1b831b6 set stats collection to false by default - a real performance hog - ironically
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509612 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 15:40:08 +00:00
Robert Davies c74558bfde Add some additional crude throttling. With cursors being limited by how much they can
can page into memory as well as the producer, you can get live locks around space usage -
if the allocation reaches 100%

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509575 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 14:26:27 +00:00
Robert Davies b0b602121e set the prefetch to something sensible (this is actually a key bit!)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509566 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 14:01:55 +00:00
Robert Davies d0beb32cb8 add waiting to aquire a lock held by the store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509565 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 14:01:18 +00:00
Robert Davies b9814c408c only set the initialized flag = true after obtaining the lock on the data files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509564 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 14:00:35 +00:00
Robert Davies c46003fd3b tighten up on message reference counting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509563 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 13:59:41 +00:00
Robert Davies 8de60cf980 try to deliver messages if there's enough space
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509552 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 13:22:27 +00:00
Robert Davies 3a2caf427d by default, there should not be a subscription recovery policy (and it leaks memory)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509550 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 13:20:40 +00:00
Robert Davies 40f5aadcd3 Add test case for slow durable consumer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509534 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 12:31:15 +00:00
Robert Davies 7b317ba7ad Log the error that caused the rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509486 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 09:58:34 +00:00
Robert Davies a5f74d673d remove unused line of code (it was bad anyway!)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509227 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 15:48:38 +00:00
James Strachan a3b3a497fb added fix for AMQ-1161
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509200 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 13:45:34 +00:00
Robert Davies 0cda6b0d58 fix some synchronization problems
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509115 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 06:56:59 +00:00
Robert Davies 0384cabd9d for getValue() ensure the StoreEntry is up to date
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@508721 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 07:30:08 +00:00
Robert Davies 6ac27998aa for getValue() ensure the StoreEntry is up to date
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@508719 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 07:10:03 +00:00
Robert Davies c8e6ff245b ObjectMarshaller cannot write to stream directly - it'll get corrupted
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@508534 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 18:56:11 +00:00
James Strachan 1a33eb61fb added support for temporary destinations and support more polymorphic request/reply logic in clients
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@508489 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:54:00 +00:00
Jonas B. Lim ee64b03ff5 patch for https://issues.apache.org/activemq/browse/AMQ-1163
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@507792 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 02:58:58 +00:00
Hiram R. Chirino 141b0faedb Fixed The StoreTest that was failing on windows due to file handles not being properly closed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@507736 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 23:05:04 +00:00
Hiram R. Chirino 6ddca19690 Fix for failing MapContainerTest on windows. All file handles were not being closed on a Store.close() call.
also updated to make more use of generics.




git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@507717 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 22:23:04 +00:00
James Strachan b8cc4be884 updated DOAP file post-graduation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@506426 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 11:50:26 +00:00
Jonas B. Lim ccf3f3c60d updates for https://issues.apache.org/activemq/browse/AMQ-894 - provided option to disable statistics gathering
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@506415 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 11:20:05 +00:00
James Strachan ef073d1ae9 avoided the creation of extra PDFs for each chapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@506410 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 10:52:58 +00:00
Brian McCallister 8ae7d84240 * Start breaking out the book by chapters to make the xml manageable
* Add skeletons/ideas for additional chapters


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@505858 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 06:58:58 +00:00
James Strachan b786ddba38 removed old Incubator disclaimer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@505370 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 16:59:45 +00:00
Frederick G. Oconer fb3e5468b7 AMQ-1159.
Updated scm url to point to new repository.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@505193 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 06:02:22 +00:00
Robert Davies a324484867 amq store - just like the quick store (cut n' paste) - difference is optimizations for recoverying in flight messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504999 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 18:46:54 +00:00
James Strachan feef358a16 applied patch from bsnyder to fix build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504942 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 16:23:50 +00:00
Robert Davies f36407a687 add unimplemented methods for the ReferenceStore interface
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504935 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 15:49:42 +00:00
James Strachan dc111aac46 tidied up the look and feel of the generated PDF
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504854 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 10:49:34 +00:00
Robert Davies ee4bb53a7d tell the PendingMessageCursor how many messages you want - for more efficent polling from store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504798 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 05:55:56 +00:00
James Strachan f30d42ade2 Added a bit more documentation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504643 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 18:45:53 +00:00
James Strachan 86c0087ca4 tidied up the pom and basic book structure - now we just need loads of content! :)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504636 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 18:24:33 +00:00
James Strachan 5372b7f403 added the activemq-book to the default build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504629 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 17:31:55 +00:00
James Strachan cb00a4ed6d Moved the book into the trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504618 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 16:57:42 +00:00
James Strachan d139d621ac Moved the book into the trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504617 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 16:57:00 +00:00
James Strachan c1e676d172 Added book directory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504616 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 16:56:10 +00:00
James Strachan 1d882e981c adding a patch to fix AMQ-1157 allowing a broker security context to be used to allow destinations to be created on startup etc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504586 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 15:35:10 +00:00
Robert Davies 6e7e3abf5d fix some problems in Quick Journal - now message containers are using Kaha maps instead of lists
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504501 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 11:12:53 +00:00
Brian McCallister d32ae27f18 Fix incubator links in the README
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504384 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 00:09:05 +00:00
James Strachan 156479a33d not far off getting the web console working with remote brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504257 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 19:46:33 +00:00
James Strachan 48f874ca59 added in initial support for using a remote JMXBrokerFacade to connect to a remote broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504251 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 19:27:18 +00:00
Hiram R. Chirino e17e5eca88 Updated version to remove the "incubator" bit.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504248 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 19:09:51 +00:00
Brian McCallister 8f4dc0d657 Improve svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504245 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 19:04:12 +00:00
James Strachan 8a5e197cb4 refactor the code to make it easy to support non-local brokers such as for connecting via JMX to a remote broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504235 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 18:48:07 +00:00
James Strachan 3b78804dbc fix text case by disabling spooling to disk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@504228 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 18:06:25 +00:00