Commit Graph

2056 Commits

Author SHA1 Message Date
Hiram R. Chirino f45ef8d319 Merging in release changes that djencks has been doing to the 4.1 branch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645959 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 14:57:40 +00:00
Robert Davies 7f0583dd2c Updated to support multiple destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645881 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 12:43:36 +00:00
Hiram R. Chirino 836ca817ef Fix for AMQ-1616: we should not be throwing an exception if close() is called twice.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645601 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:39:44 +00:00
Hiram R. Chirino 1c057a5d0a Fix for AMQ-1381: makes client certs work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645599 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:35:16 +00:00
Hiram R. Chirino dead5743f5 Applied patch https://issues.apache.org/activemq/browse/AMQ-1587
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645580 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:59:34 +00:00
Hiram R. Chirino 39100564da Applying patch: https://issues.apache.org/activemq/browse/AMQ-1567 Thanks Dejan!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645574 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:48:53 +00:00
James Strachan bcbaeebf24 added another test to show we can invoke JMS MessageListener instances
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@644836 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 19:22:53 +00:00
Hiram R. Chirino ce1d85d1ee Do better reference count management of persistent messages when they are stored in a Memory store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@644447 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 19:26:04 +00:00
James Strachan d35f83bcf5 removed unnecessary import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@644349 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 15:10:31 +00:00
Hiram R. Chirino 11e742f003 Add some info logging so you can check to see if the discovery agent is generating duplicate onServiceAdd events
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643908 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 13:56:26 +00:00
Hiram R. Chirino c92b11bc54 If the discovery agent fails.. log the error so that folks using a custom discovery agent can find out that there was an error in the discovery agent bits.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643905 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 13:35:16 +00:00
Hiram R. Chirino 00fb444810 - The ack to the message store was being sent after the transaction commit. Not good. Fixed so that the ack gets sent to the message store
as it comes in.  This fixes teh failing jpa tests.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643529 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 19:35:48 +00:00
Hiram R. Chirino 6f851c8cce Wait for the queue consumers to connect before sending the messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643461 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 16:02:19 +00:00
Hiram R. Chirino bcacddfaad Adding a little more delay so it works with slower machines.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643460 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 16:01:20 +00:00
James Strachan 53756f3c19 fixed failing camel tests; made the CamelEndpointLoader dependent on the EnhancedConnection interface so it works with a naked ActiveMQConnection or a PooledConnection. Also changed the defaults to use a PooledConnectionFactory by default when using the ActiveMQ camel component
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643458 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 15:58:14 +00:00
James Strachan 80722e4c9d fix for failing test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643439 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 15:21:13 +00:00
Hiram R. Chirino a818270040 Making the MultiBrokersMultiClientsTest less timing dependent. Using advisories to know when the subscriptions have been setup so
that we can start the publishing at the right time.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643407 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 14:05:51 +00:00
Hiram R. Chirino 2a328ed27c When pulling a message, iterate the destinations first to make sure that it has pushed all available messages to
the sub.  This should fix the ZeroPrefetchTest that was intermitently failing on slower machines.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643390 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 13:22:48 +00:00
Hiram R. Chirino 3eb6aed961 If a transport error occurs, there is no point in trying to cleanup with the broker since transport has failed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643206 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 23:16:55 +00:00
Hiram R. Chirino 431478a8f5 do best effort to drain the queues.. and error should not interrupt the connection and broker shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643205 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 23:15:45 +00:00
Hiram R. Chirino c20b10bed8 This method override seems like it's causing out of order dispatch in the JmsTempDestinationTest disabling for now until we can research this further.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643148 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 21:00:33 +00:00
Hiram R. Chirino 8e98b13c87 Fixing DLQ tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643108 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 19:26:19 +00:00
James Strachan 53c9bab824 added a fix for http://issues.apache.org/activemq/browse/AMQ-1636 to avoid creating unnecessary connections when sending messages from Camel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@642166 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 09:42:40 +00:00
Hiram R. Chirino 76ac7588e8 - Fixing out of order dispatch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@642067 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 02:22:39 +00:00
Hiram R. Chirino b5df4babc0 Fixed the JmsTempDestinationTest test. Async send was causing the temp destination to get recreated after the temp connection was closed.
Fixed - Was sending duplicate temp destination created advisories.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641938 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 18:45:04 +00:00
Hiram R. Chirino 14b8957713 Shutdown all connections opened in the testcase so that the broker shutdown between cases. Fixes failures that happened ocasionally
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641890 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 16:55:09 +00:00
James Strachan e35c115e03 added a little test program showing how to browse ActiveMQ queues using Camel BrowsableEndpoints http://activemq.apache.org/camel/browsableendpoint.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641756 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 09:47:45 +00:00
James Strachan 3cbee72a9c added test case and patch that shows adding producers & sending messages didn't trigger advisories
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641548 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 20:23:26 +00:00
James Strachan cdfb3c0691 increased the sleep to ensure test case works
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641545 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 20:19:29 +00:00
Hiram R. Chirino a9ba595748 When messages expire take them out of the paged in list so that we can dispatch more messages to other consumers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641525 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 19:56:29 +00:00
James Strachan 0b6cd58fb7 fixed some failing tests - with much better tests that test headers move across camel routing steps and that we can invoke a request/reply explicitly using JMS headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641380 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 16:26:07 +00:00
James Strachan 401937a115 Added full hamcrest dependency for testing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641364 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 16:07:36 +00:00
Hiram R. Chirino b02c06fb31 Decrement the message reference when the messages are removed from the vm pending cursor.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@641027 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 21:51:37 +00:00
Hiram R. Chirino ae7de6c236 In the queue case, when a consumer was closed it was not properly re-delivering messages to other available consumers. This was causing message to look like they got dropped.
- When we shut a queue sub down we now get it's pending+dispatched list and re-dispatch that to the other available subscriptions.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@640890 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 16:45:00 +00:00
Hiram R. Chirino f9585fd6ab It's possible the prefered wireformat could be null
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@640684 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 03:36:07 +00:00
Hiram R. Chirino c04d8c548d Better failover error handling and now we pass on the max initial inactivity timeout to the timeout used by the intial wire format negociation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@640641 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 23:19:50 +00:00
Hiram R. Chirino 0a4c8064e4 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639667 13f79535-47bb-0310-9956-ffa450edef68 2008-03-21 15:29:55 +00:00
Guillaume Nodet f6856a893c Improve OSGi manifest attributes wrt xbean-spring
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639592 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 10:30:19 +00:00
Hiram R. Chirino 9e13dc67fa Disable lazy dispatch. Was causing queue browser tests to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639539 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 04:26:33 +00:00
Hiram R. Chirino 299a98d48f removing a bad reference increment
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639532 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 03:30:45 +00:00
Hiram R. Chirino 0302ffded7 avoid deadlock on stop()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639531 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 03:29:33 +00:00
Robert Davies 47183aeeaa set new expiration time
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639499 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 23:56:18 +00:00
Hiram R. Chirino f4971bf2dc Avoid local consumer starvation. We were not properly keeping the list sorted.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639422 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 19:31:36 +00:00
Hiram R. Chirino 01ab56f7d0 Better memory usage reference counting for the persistent message case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639388 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 17:49:45 +00:00
Hiram R. Chirino 198dd34a9e Stop the to connection first to avoid hanging on error.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639332 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 16:00:25 +00:00
Hiram R. Chirino c9c11074a8 Fix queue reference counting.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639315 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 15:31:34 +00:00
Hiram R. Chirino 5d485843b6 If a connection is close() make sure we error out any outstanding requests it may be doing so that it can properly shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639111 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 01:59:39 +00:00
Robert Davies ff7033fa14 set default max page size to 100
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@639030 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 21:52:31 +00:00
Hiram R. Chirino 31a87ac778 allow blocked connections to unblock so we can get in and stop them.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638969 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 18:45:08 +00:00
Hiram R. Chirino 2f1822bf2c Fix for inactivity exceptions not getting generated due to previous change.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638942 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 17:19:32 +00:00
Hiram R. Chirino 5269519536 Do the inital recovery dispatch in the iterate() thread so that the addSubscription() operation on the Queue executes quickly.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638924 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 16:29:26 +00:00
Robert Davies aa2c8965eb use compareAndSet() in onException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638922 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 16:26:53 +00:00
Robert Davies f55923619d Added separately configurable initial delay for timeout tasks on InactivityMonitor
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638910 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 16:07:54 +00:00
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