Commit Graph

2930 Commits

Author SHA1 Message Date
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
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
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