Hiram R. Chirino
4c481ec6a9
Added a ReentrantReadWriteLock to guard against a service call executing while a connection is being shutdown.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634505 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 02:33:32 +00:00
Robert Davies
bb763f5f7a
dump an index
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634490 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 01:01:18 +00:00
Robert Davies
88fbb05af5
Add foundation for monitoring split brokers from a clients view point
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634488 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 00:59:02 +00:00
Robert Davies
cf55702288
resolve concurrent modification
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634487 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 00:57:55 +00:00
Robert Davies
f4ca650108
Fix concurrent modification of pagedInMessages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634472 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 00:10:20 +00:00
Robert Davies
9cc2d3776e
open up to more Configuration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634421 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 21:29:22 +00:00
Robert Davies
4ae43a36b5
reduce contention around stats on connection - thx for spotting this Hiram!
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634420 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 21:26:53 +00:00
Robert Davies
d56371fd69
fix current modification of linked list
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634415 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 21:02:50 +00:00
Hiram R. Chirino
c0b74f0562
Fix for: https://issues.apache.org/activemq/browse/AMQ-1613
...
Avoid deadlocking with the thread calling oneway() when we are cleaning up the connection due to an Inactivity error.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634411 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 20:45:02 +00:00
James Strachan
fb0e159499
added a helper class for auto-exposing ActiveMQ Queues into the CamelContext
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634377 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 18:22:20 +00:00
James Strachan
5e897d6c38
updated the test case for http://issues.apache.org/activemq/browse/AMQ-1199 to make it a better test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634281 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 14:40:14 +00:00
James Strachan
f6efc5660d
added support for http://issues.apache.org/activemq/browse/AMQ-1199 so that its easy to browse the available queues & topics in a broker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634277 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 14:35:26 +00:00
Robert Davies
cd54a162f6
Define specific region classes for TempQueue and TempTopic
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633976 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 18:59:58 +00:00
Hiram R. Chirino
c1e560e7ef
Added some property accessors
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633903 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 16:14:39 +00:00
Robert Davies
e7316df001
synchronize around the messagesWaitingForSpace
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633808 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 10:17:43 +00:00
Robert Davies
f6fd249d8c
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633806 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 10:12:20 +00:00
Robert Davies
3b0afd6b71
Added NonCachedMessageContext
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@633800 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 09:35:31 +00:00
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