Commit Graph

2685 Commits

Author SHA1 Message Date
Robert Davies 48522098f5 chekc if debug is enabled before calling debug
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@511073 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 19:53:23 +00:00
James Strachan 8cf4795b94 added the first cut of version 3 of the wire format which now supports BlobMessage for out-of-band (or later on in-band) BLOBs for AMQ-1075
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@511045 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 18:50:52 +00:00
James Strachan b77d70a1b1 rolled back change of toString() which was made for StompConnect as we can use Queue.getQueueName() / Topic.getTopicName() instead
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@511032 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 17:41:28 +00:00
Robert Davies 481e717292 take out a println() that crept in
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@510995 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 15:59:17 +00:00
Robert Davies 9e14f67b40 Fixed vroke test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@510991 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 15:51:23 +00:00
Robert Davies f7e9206ae5 Add a default policy entry, now that FixedSizeSubsctionRecoveryPolicy is no longer set by default on a Topic.
It was a memory issue for large messages.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@510899 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 10:46:43 +00:00
James Strachan d85794c17f Applied patch from Tom Vijlbrief for AMQ-724
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@510843 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 06:04:41 +00:00
Robert Davies b88db246b5 synchronization changes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509912 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 06:17:17 +00:00
Robert Davies 8613f58d16 tidy imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509903 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 05:54:32 +00:00
Robert Davies f92e5b587a repeater test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509731 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:09:23 +00:00
Robert Davies 5da043be84 testlets of performance
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509729 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:08:05 +00:00
Robert Davies 32a4c47204 small op
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509728 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:05:00 +00:00
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