Commit Graph

2959 Commits

Author SHA1 Message Date
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
David Jencks 8d28bbfdab AMQ-1618 Refine thread safety of pool access operations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637218 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 19:23:55 +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 bbd2e47dbd tidied up synchronization
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637028 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 09:53:39 +00:00
David Jencks c57bad8711 AMQ-1618 Fix check for 'endpoint factory won't let us create any endpoints at all'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637004 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 06:36:49 +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
James Strachan 95fcceb00e added missing jars caused by upgrade to spring 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636330 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 14:00:18 +00:00
James Strachan 39744a83d6 added the broker name and details to the home page and window title
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636298 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 12:23:27 +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