Hiram R. Chirino
c18b583020
Don't timeout a stop since that can lead to a failover connection not being able to reconnect correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638891 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 15:52:36 +00:00
Hiram R. Chirino
1656e1dd52
Avoid generating additional exception after the first one reported.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638886 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 15:48:41 +00:00
Hiram R. Chirino
38d433a34a
Fix NPE
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638870 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 15:26:18 +00:00
Robert Davies
2f9fdea41f
changed some defaults
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638844 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 14:35:32 +00:00
Robert Davies
dd57e40758
synchronize oneway()
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638814 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 12:34:40 +00:00
Hiram R. Chirino
8de8d0b37e
opps had my logic backwards..
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638603 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 22:00:16 +00:00
Hiram R. Chirino
6b33749b17
access to the writeThread was not safe.. Plus interrupting another thread is not recommended anyways.
...
also fail new oneway() operations once inactivity is detected.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638596 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 21:43:42 +00:00
Robert Davies
dc4f2993cc
change reference count boundaries around messages - so they
...
are around acks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638385 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 14:32:41 +00:00
Hiram R. Chirino
3c4d09d749
Don't use port 6001 since that conflicts with X servers on windows.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638359 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 13:33:10 +00:00
Hiram R. Chirino
eccb337303
Don't send the ShutdownInfo when stopping the transport. This should make it faster to shutdown a failed connection.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638358 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 13:18:22 +00:00
Robert Davies
e58dfee8cc
Disable by default the status detector - InactivityMonitor does the same thing
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638260 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 08:26:43 +00:00
Robert Davies
3957eb0f6d
removed unused executor
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638246 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 07:15:45 +00:00
Robert Davies
e41be74339
Use ThreadPool for stopping services
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638238 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:45:25 +00:00
Robert Davies
44e6f7d0cd
Use ThreadPool for stopping services
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638235 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:38:18 +00:00
Robert Davies
ec15e1c05a
Use ThreadPool for starting local services
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638234 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:30:00 +00:00
Robert Davies
859397c18b
Use ThreadPool for starting remote services
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638233 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:24:37 +00:00
Hiram R. Chirino
cdd2108dd1
Just making it a little more thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637965 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 16:42:09 +00:00
Hiram R. Chirino
4bce5c810a
Don't timeout trying to aquire the service write lock. Timing out can cause to improper shutdown.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637962 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 16:34:34 +00:00
Robert Davies
70511a6929
don't want errors from old transport after its failed
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637883 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 13:34:11 +00:00
Robert Davies
4032a01c17
Interrupt the writing thread on failure
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637881 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 13:32:31 +00:00
Robert Davies
5e03394423
send shutdown to transports asynchronously - as they may be blocked
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637879 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 13:30:38 +00:00
Robert Davies
372f69aba9
tightened synchronization around dispatchQueue
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637878 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 13:28:06 +00:00
Robert Davies
0ff0ee3766
use defaults for VMTransport in network connections
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637877 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 13:27:11 +00:00
Robert Davies
b32ff4dd5c
Ensure we detect Connection splits for any type of network
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637609 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 16:30:55 +00:00
Robert Davies
1987cfa234
Only unlock a service lock if we managed to lock it
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637454 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 18:59:49 +00:00
Robert Davies
ceb7e1a86c
Don't check connection splits for temporary destinations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637046 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 10:44:52 +00:00
Robert Davies
5dc188eb32
monitor connection splits is now on by default
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636930 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 00:04:32 +00:00
Robert Davies
ba3e913daf
tidied up detection of stale subscriptions across a network
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636897 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 21:18:35 +00:00
Robert Davies
320f80263e
too many advisories flying about
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636868 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 20:31:32 +00:00
Robert Davies
5fd3229c0b
default back to straight through for network vm transport
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636796 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 16:21:36 +00:00
Robert Davies
4a136864f1
remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636733 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 11:56:41 +00:00
Robert Davies
5288e0d2e7
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636732 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 11:55:47 +00:00
Robert Davies
c451951148
Added properties for caching of temp destinations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636724 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 11:36:43 +00:00
Robert Davies
e4621e3aa7
Added properties for caching of temp destinations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636722 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 11:35:57 +00:00
Robert Davies
a785cb75dd
expose internal maps to help debugging
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636720 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 11:35:20 +00:00
Hiram R. Chirino
1096564117
Allow the region broker implemenation to get changed by subclasses of BrokerService.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636609 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 03:09:48 +00:00
Robert Davies
93ccb9ca3b
try and allow for zero pretech consumers with lazy dispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636507 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 20:59:54 +00:00
Robert Davies
290ce2a6bf
ensure network connections use async dispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636454 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 19:00:25 +00:00
Robert Davies
8fd41894ca
Add network consumer id to a DemandSubscription
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636428 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:12:35 +00:00
Robert Davies
f9cc04e5db
Add network consumer id to a DemandSubscription
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636426 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:11:51 +00:00
Robert Davies
cb65470569
use a separate mutex for building backups
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636425 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:10:17 +00:00
Robert Davies
712254d5d2
support a list of ConsumerId's from the network
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636424 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:08:48 +00:00
Robert Davies
22565e4176
don't throw an exception if removing an invalid subscription -
...
it could happen from the ConnectionSplitBroker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636422 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:07:46 +00:00
Robert Davies
58cf400836
Check for old network Subscriptions as well as connections
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636420 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:06:07 +00:00
Robert Davies
f67415d879
don't wait for ever when stopping the connection on a blocked write
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636419 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 17:04:44 +00:00
Robert Davies
84792bafed
If pageIn is forced - don't do lazyDispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636411 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 16:48:22 +00:00
Robert Davies
a9ccf5623d
check for null message in MessageDispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636281 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 11:16:05 +00:00
Hiram R. Chirino
c6b88f1ecc
Made the ReconnectTest a little more robust.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636106 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 21:17:51 +00:00
Robert Davies
2185cdb6e0
Fix supplied by Pete Schwamb for corrupted DiskIndexLinkedList
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636078 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 19:46:58 +00:00
Robert Davies
7d70fec53a
make lazy dispatch the default for queues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636067 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 19:13:50 +00:00
Hiram R. Chirino
4fcacf7772
A client should connect to the same broker for it's sending and receiving so that the broker does the forwarding
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636064 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 19:11:51 +00:00
Hiram R. Chirino
67d38fafd1
Fix for the failing QueueMasterSlaveTestUsingSharedFileTest on windows. The lock on the AsyncDataManager was not being retried.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636037 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 17:59:24 +00:00
Hiram R. Chirino
75d43c027f
This test is very taxing.. if you didn't have a good machine it could produce false negatives.. lowering requirements a bit to reduce false negatives.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635971 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 15:20:31 +00:00
Robert Davies
512b0c7e67
Don't use FilePendingMessageCursor if persitence is off
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635932 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 14:05:20 +00:00
Robert Davies
0c45ad5778
exclude NetworkFailoverTest
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635755 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 23:11:55 +00:00
Robert Davies
8f1505ff55
tidy up imports
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635753 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 23:10:46 +00:00
Robert Davies
7ee534ff26
monitor connection splits
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635747 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 23:05:50 +00:00
Robert Davies
29cfdedb12
take out System println messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635688 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:54:54 +00:00
Robert Davies
044c07d9a5
Added a lazy dispatch option for queues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635682 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:35:34 +00:00
Robert Davies
98b4923918
Simple Request/Reply test using temp queues over a network - with
...
a failure on every send
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635681 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:33:24 +00:00
Robert Davies
c42c5ff976
Fix problem in message state tracker that will result on OME
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@635565 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 14:16:49 +00:00
Robert Davies
5e747b070d
Improvements to removing stale connections
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634797 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 20:09:07 +00:00
Robert Davies
c803f531e3
Ignore invalid commands to the AdvisoryConsumer- can happen due
...
to the use of wildcards across a network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634775 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 18:43:51 +00:00
James Strachan
26eedea5fb
added support to be able to auto-expose ActiveMQ Queues into a CamelContext so that they are browsable by any Camel based tooling
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634686 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 14:17:01 +00:00
Robert Davies
1a01d13731
Detect clients fail over - that haven't removed themselves from
...
a brokee
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634589 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 09:06:30 +00:00
Robert Davies
3f9d6e2ef8
re-introduce optimize dispatch for queues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634588 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 09:02:37 +00:00
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
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
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
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
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
Robert Davies
8768a04e63
doDispatch():
...
only apply message to least loaded if target subscription not
already found
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629007 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 07:21:50 +00:00
Adrian T. Co
40950bc4b8
https://issues.apache.org/activemq/browse/AMQ-1580
...
- Check for 0 length buffer when receiving byte messages
- Don't send an empty byte message if there is no data to flush
- Added test case from AMQQ-1580
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628988 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 04:37:55 +00:00
Robert Davies
900c9af498
When recovering durable subscriptions - ensure they are recovered only once
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628778 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 15:13:12 +00:00
Adrian T. Co
4a8ade0fae
Fix typo: https://issues.apache.org/activemq/browse/AMQ-1565
...
Added explicit version for maven-antrun-plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628764 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 14:52:56 +00:00
Robert Davies
213c3ae379
Apply patch for https://issues.apache.org/activemq/browse/AMQ-1584
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628710 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:55:51 +00:00
Robert Davies
2747573f66
Fix for https://issues.apache.org/activemq/browse/AMQ-1583
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628708 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:50:38 +00:00
Robert Davies
d4382e483b
Change Queue dispatch model to reduce contention for lots of
...
consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628667 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:38:10 +00:00
Robert Davies
edd35d4b13
Added a TaksRunner that always executes iterate - even if its already running
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628665 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:36:39 +00:00
Robert Davies
8250a3c4b2
Fix some timing issues with test cases
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628664 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:35:37 +00:00
Robert Davies
7882eb7968
Fix some timing issues with test cases
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628663 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:32:57 +00:00
Robert Davies
da46fffc54
removed unused property
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@620760 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 11:11:05 +00:00
Robert Davies
be6376373f
Utility class for messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@620738 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 10:04:36 +00:00
Robert Davies
f94406aae6
calculate message size even if the minimumMessageSize == 0
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@620500 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 14:59:56 +00:00
Robert Davies
5460b7bb47
remove patch comment
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619789 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 07:24:26 +00:00
Robert Davies
24fea9368c
iterate() now returns false after every run to prevent spinning
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619652 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 21:42:56 +00:00
Hiram R. Chirino
939a3160f3
Handle the OverlappingFileLockException that could occur.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619511 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 17:13:03 +00:00
Robert Davies
52ca2de3f0
remove shutdown hook
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619391 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:58:46 +00:00
Robert Davies
6f66aa0eea
can't determine order messages will arrive in for separate queues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619390 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:57:52 +00:00
Robert Davies
ac0a88f44d
slave deletes all messages on startup now
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619388 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:56:12 +00:00
Robert Davies
6d0c552c8a
cursor fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619387 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:55:02 +00:00
Robert Davies
1a6cbfa651
fix for https://issues.apache.org/activemq/browse/AMQ-1446
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619347 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 10:15:54 +00:00
Robert Davies
6c52d28985
Fix for:
...
https://issues.apache.org/activemq/browse/AMQ-1116
https://issues.apache.org/activemq/browse/AMQ-1575
https://issues.apache.org/activemq/browse/AMQ-1577
https://issues.apache.org/activemq/browse/AMQ-1581
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619336 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 09:51:19 +00:00