Commit Graph

2930 Commits

Author SHA1 Message Date
Robert Davies 26aeb46493 Added non persistent queue network test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633799 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 09:32:45 +00:00
Hiram R. Chirino a9b841af61 The AsyncDataManager now supports doing a callback notification for when a write
has been secured to disk.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633603 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 19:36:58 +00:00
James Strachan ab839ffc06 made the load test a bit bigger :)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633585 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 19:01:55 +00:00
James Strachan 42fc31b4af added a load testing example using the latest camel dataset feature http://cwiki.apache.org/CAMEL/dataset.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633580 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 18:41:49 +00:00
Hiram R. Chirino 747b2ddc4a Fixing edge case that does not normally occur. When marshalling a null object and size prefixing is disabled, we
were still prefixing the size of the data.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633571 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 17:55:01 +00:00
Hiram R. Chirino c84e58a948 Reduce contention by using an Atomic Reference.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633570 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 17:52:14 +00:00
Hiram R. Chirino 1c8cfd9cfe The testWildcardConsume has 1 consumer subscribe to 2 destiantions and made an assumption
that messages would delivered in the order published to the 2 different destinations.  This is not correct
as the messages could queue up and get dispatched at different times.  Updated the code so that this assumption
is no longer relied on.


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633554 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 17:28:53 +00:00
Hiram R. Chirino 3d18d59904 Protect the messagesWaitingForSpace variable against concurrent modification.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633210 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 18:03:21 +00:00
Robert Davies e376456111 Compress HashIndex on startup - only way to ensure the index
pages are loaded in correct order without changing the wire format

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632964 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 07:18:00 +00:00
Robert Davies b67f61df98 Don't use default container name for loader test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632963 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 07:16:34 +00:00
Robert Davies 18e1a6bfc1 HashTest expanded to load/unload/load indexes through testing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632962 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 07:15:45 +00:00
Robert Davies d8b407bb63 Added copy file method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632961 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 07:14:39 +00:00
Robert Davies c427689dad make splitting consumers/producers memory limit optional and off
by default

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632666 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 22:31:26 +00:00
Robert Davies 767b548715 fix for inaccurate page calculation in bin overflow
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632651 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 19:59:49 +00:00
Robert Davies 32dc290eb7 reset defaults
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632560 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 07:30:03 +00:00
Hiram R. Chirino 13829eff1d The Producer MemoryLimit can lead to network deadlock when spooling is disabled.
So we now disable using it when sooling is used on a queue.

see:
https://issues.apache.org/activemq/browse/AMQ-1606



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632455 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 21:59:33 +00:00
Robert Davies c0b00b2d28 set track messages off by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632333 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 14:55:10 +00:00
Robert Davies 710db267a9 Move back to using DEfaultThreadPools for reconnect tasks - as
for very bad connections, DedicatedTaskRunner could get swamped with
reconnect tasks

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632269 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 09:22:02 +00:00
Robert Davies 014f82a1e0 remove println() - oops
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 16:45:17 +00:00
Robert Davies 03ecdb00ee changed free list implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632050 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 16:42:30 +00:00
Robert Davies e31ca80546 added size to toString() method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632047 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 16:38:34 +00:00
Robert Davies 571a253df7 added toString()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@632046 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 16:36:56 +00:00
Robert Davies a36426d202 keep alive should get a response
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631965 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 13:29:35 +00:00
Adrian T. Co dd35ef43e5 Upgraded jettison to 1.0
https://issues.apache.org/activemq/browse/AMQ-1597

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631871 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 06:45:52 +00:00
Adrian T. Co a6e227dcdc Tweak the logging a bit. Didn't like the idea of different log messages depending on log level.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631866 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 06:24:17 +00:00
Adrian T. Co da6c2d61f1 Changing logging to log stacktraces to debug only
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631864 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 06:20:12 +00:00
Adrian T. Co bf20d76622 https://issues.apache.org/activemq/browse/AMQ-1598
Remove extraneous Thread.dumpStack call

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631848 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 05:12:44 +00:00
Hiram R. Chirino e60828c077 Better qos options on the producer of this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631665 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 18:07:46 +00:00
Hiram R. Chirino b01374e05f Added better weighted sleeps to make sure everything is going before we start sampling.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631662 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 17:44:07 +00:00
Hiram R. Chirino a9120b1b12 Adding a test does a load test across multiple network connections.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631658 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 17:20:03 +00:00
Robert Davies 00893abe27 recycle hash pages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631537 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 10:21:27 +00:00
James Strachan 5075fb9dea added a test case showing how to set a property using a Processor http://www.nabble.com/setting-JMSXGroupId-property-from-within-a-processor-tp15706825s22882p15706825.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631509 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 07:56:33 +00:00
James Strachan e404981736 zap old code that has moved to actievmq-web
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631508 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 07:54:51 +00:00
Robert Davies e225ba622c optionally replay messages on the fault tolerant transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631244 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 15:00:37 +00:00
Robert Davies 25b6812daa Added network and fault tolerant flags to ConnectionContext
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631241 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:56:31 +00:00
Robert Davies 33724ec1c3 removed tmp destination tests - the check is done client side now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631240 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:55:45 +00:00
Robert Davies cd24f8099f Introduced AbstractTempRegion - to cater for temp destination
usage on  failover

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631237 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:50:43 +00:00
Robert Davies 16b4009348 added additional logging around ClassNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631227 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:34:40 +00:00
Hiram R. Chirino 230255a479 https://issues.apache.org/activemq/browse/AMQ-1595
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@630253 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 17:03:39 +00:00
Robert Davies b34f730231 expose some methods to make it easier to test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@630136 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 10:05:33 +00:00
Hiram R. Chirino 3d33c0e51a Fixing bug with qdox.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@630050 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 23:42:00 +00:00
Hiram R. Chirino b141d21dce Gaurd against too many read checks happening back to back.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629859 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:39:16 +00:00
Robert Davies 204f6d8385 have backup off by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629725 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 09:10:27 +00:00
Robert Davies 2a153b085f Fix for https://issues.apache.org/activemq/browse/AMQ-1560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629713 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 08:13:08 +00:00
Hiram R. Chirino 60c260582d Fix for https://issues.apache.org/activemq/browse/AMQ-1591
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629639 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 22:24:18 +00:00
Robert Davies 34c530c39b removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629636 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 22:19:31 +00:00
Hiram R. Chirino e0bdc012c1 Fix for https://issues.apache.org/activemq/browse/AMQ-1591
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629631 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 22:05:02 +00:00
Robert Davies bca91bb068 check for null byte passed as parameter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629623 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 21:47:18 +00:00
Robert Davies 4e3e8c4add updated properties
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629405 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 10:12:47 +00:00
Adrian T. Co 13af1e36fb - Fix for https://issues.apache.org/activemq/browse/AMQ-1576 (behavior is that if a jms property is null, it will not be converted, but will still be added to the default list of properties)
- Fix a spelling typo


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629060 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 10:46:13 +00:00