Commit Graph

3031 Commits

Author SHA1 Message Date
Hiram R. Chirino 1ad15ccac2 Merged in rev 644519 from 4.1 branch.. porting djencks release changes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645980 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 15:54:02 +00:00
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 f66e9413a0 Applying patch at https://issues.apache.org/activemq/browse/AMQ-1624 thanks Marco!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645592 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:23:24 +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
Hiram R. Chirino 9d7bd247ad Updating readme to include ECN info.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@644867 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 19:58:30 +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
James Strachan b1cbd4176e added another load test which uses concurrent consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@644706 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 13:23:30 +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
James Strachan 0aea7828c7 added a better load testing example
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643939 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 15:18:04 +00:00
James Strachan 0b33ad6074 Upgrade to latest commons-pool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643937 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 15:15:57 +00:00
James Strachan 23612459c2 Use root context patch when running jetty:run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643936 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 15:15:40 +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 6146a73673 reverting this change.. did not intend to commit it with the last commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643534 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 19:42:41 +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
James Strachan 54280bcfec Added central repo to try fix issue with ibiblio and the build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@640898 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 17:03:57 +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