Commit Graph

3241 Commits

Author SHA1 Message Date
Hiram R. Chirino 6cc18cac5a Putting back setting the broker service on transport factories that implement BrokerServiceAware. Removing that had broken the StompTest.
It's a little dirty cause it can cause issues if 2 brokers are created in 1 jvm.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661466 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 20:32:58 +00:00
Hiram R. Chirino 1973ca8f3e Fix the failing QueueMasterSlaveTestUsingSharedFileTest test.. due to chang in startup order of the persistence adapter.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661439 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:23:18 +00:00
Hiram R. Chirino 2b3b7f565c Fixed the TopicClusterTest test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661438 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:16:38 +00:00
Hiram R. Chirino fd184fb79a Provide better error messages when directories cannot be created.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661435 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:11:20 +00:00
Hiram R. Chirino b6dc8eeba7 Fixing test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661432 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 18:40:48 +00:00
Hiram R. Chirino 8573072a6f Fixed PublishOnTopicConsumerMessageUsingActivemqXMLTest case that started failing due to the recently added chagne to the journal persistence adapter which did a:
this.usageManager.getMemoryUsage().addUsageListener(this); on start.  Basically we now don't start the persistence layer until the broker is started (was happening
when the broker was created).



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661402 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 17:01:55 +00:00
Robert Davies 0f1ef01d1b Fix for https://issues.apache.org/activemq/browse/AMQ-1748
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661295 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 11:27:33 +00:00
Robert Davies 4dde3239ff Fix for https://issues.apache.org/activemq/browse/AMQ-1755
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661224 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 06:41:35 +00:00
Hiram R. Chirino b3ee59d7a1 Reverting recent chagnes to openwire v3 marshallers that snuck in with my last commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661104 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:53:17 +00:00
Hiram R. Chirino a2033b3817 Made the discovery based tests use dynacmic groups so that if multiple builds of ActiveMQ are being run in the same network, they don't conflict with each other.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661094 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 21:26:11 +00:00
Robert Davies 4ee029ef4e Fix for https://issues.apache.org/activemq/browse/AMQ-1541
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@660977 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 15:19:30 +00:00
Hiram R. Chirino ec80f286d2 Fixed camel test the broker when the CamelTemplate moved packages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@660960 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 14:35:23 +00:00
Robert Davies 92604947a5 Fix for https://issues.apache.org/activemq/browse/AMQ-1752
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@660906 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 11:11:35 +00:00
Hiram R. Chirino 7d87837e08 Added test case provided by Gary for http://issues.apache.org/activemq/browse/AMQ-1749
And changed the way SSL is setup so that it passes that test case.  Keep the SslContext in 
a ThreadLocal that is passed around to avoid setting it on a static field wich would
get mixed up between brokers.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@660591 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 16:36:10 +00:00
Robert Davies 8ab5f45216 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1748
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@660555 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 15:20:41 +00:00
Robert Davies 041b1b8ad5 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1747
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@660517 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 13:51:42 +00:00
Robert Davies 1f9e67f2b7 set the memoryUsageHighWaterMark to 70 by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@659527 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 13:03:08 +00:00
Robert Davies 87403404d2 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@659204 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 19:02:54 +00:00
Robert Davies cdc2fd3d6d Fix for:
https://issues.apache.org/activemq/browse/AMQ-1704
https://issues.apache.org/activemq/browse/AMQ-1679
https://issues.apache.org/activemq/browse/AMQ-609

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@659203 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 18:56:03 +00:00
Robert Davies 0446404c47 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1742
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@659082 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 11:38:33 +00:00
Hiram R. Chirino edb21db5ec Opps fixing last commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 19:15:46 +00:00
Hiram R. Chirino 349466b364 Fix issues where the message's regionDestination was not matching up with the actual region destination it was being deliver from
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658776 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 17:31:27 +00:00
Hiram R. Chirino b135f8abad When jencks shuts down an endpoint, it rolls back the last action done on it.. Was causing weird errors to show
up on the broker cause the message had already been commited.  We now handle an RA commit followed by a rollback for
this case (basicaly we ignore the rollback).



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658724 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 15:23:09 +00:00
Robert Davies 5a368cacd6 remove shutdownInput() call in doStop()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658700 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 14:21:28 +00:00
Robert Davies cf03717eb7 use ActiveMQConnectionFactory.DEFAULT_BROKER_BIND_URL
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658692 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 14:05:32 +00:00
Robert Davies 157d630da4 Make socket close async optional - for
https://issues.apache.org/activemq/browse/AMQ-1739

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658637 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 11:47:13 +00:00
James Strachan b6167482e5 add support for username/password properties
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658393 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 18:53:19 +00:00
Hiram R. Chirino ff46232797 Fix for: https://issues.apache.org/activemq/browse/AMQ-1738
Messages stuck in a queue don't get dispatch (happens when consumers close out)


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658370 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 18:15:48 +00:00
James Strachan 926ce535e5 added userName/password properties for easier configuration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658266 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:57:54 +00:00
Robert Davies d8b5d5c4cd Fix for https://issues.apache.org/activemq/browse/AMQ-1735
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658154 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 08:14:47 +00:00
Robert Davies 90c8ded771 Fix for https://issues.apache.org/activemq/browse/AMQ-1717
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658127 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 07:01:42 +00:00
Hiram R. Chirino b9797bc618 making the journal broker aware so that it can pass on the broker service config to the long term persistence
adapter if it is also broker aware.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657904 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 18:39:59 +00:00
Robert Davies ab3b155ff6 more for https://issues.apache.org/activemq/browse/AMQ-1736
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 13:06:37 +00:00
Robert Davies ca36136639 For https://issues.apache.org/activemq/browse/AMQ-1736
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657734 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 06:47:30 +00:00
Robert Davies 412923da51 Fix for https://issues.apache.org/activemq/browse/AMQ-1736
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657193 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 20:23:08 +00:00
Robert Davies 4ddb3e3f6c tidy up for https://issues.apache.org/activemq/browse/AMQ-1732
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657155 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 18:29:33 +00:00
Robert Davies cdd4efabaf patch for https://issues.apache.org/activemq/browse/AMQ-1661
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657147 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 17:44:21 +00:00
Guillaume Nodet b609bdb95b AMQ-1733: Add an option to allow the xbean broker to destroy the spring application context when the broker is stopped
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@657059 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 13:38:29 +00:00
Robert Davies 2076f452e7 Fix for https://issues.apache.org/activemq/browse/AMQ-1732
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656980 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 09:21:44 +00:00
Hiram R. Chirino 6dc8cd034b The test-jars are not compile time dependencies.. Fixing this avoids the test classes getting included in the activemq-all jar.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656697 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 15:21:29 +00:00
Robert Davies 8b33c1c640 Fix for http://issues.apache.org/activemq/browse/AMQ-1661
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656688 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 14:48:51 +00:00
Robert Davies 049ce286c7 Fix for http://issues.apache.org/activemq/browse/AMQ-1542
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656679 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 14:25:48 +00:00
Hiram R. Chirino 0ad7681545 Adding the ssl context to the old config too
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656648 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 13:22:41 +00:00
Robert Davies 2aa661d724 Fix for http://issues.apache.org/activemq/browse/AMQ-1709
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656601 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 11:58:12 +00:00
Robert Davies a4b7157513 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1727
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656582 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 10:50:35 +00:00
Robert Davies 15709c5673 Expose load factor for HashIndex in Kaha
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656574 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 09:42:35 +00:00
Robert Davies f12c100805 Add an optional initial delay for the consumer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656379 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 19:37:45 +00:00
Robert Davies c2a5b54c6d Grow the HashIndex bins as required
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656378 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 19:36:11 +00:00
Hiram R. Chirino 43b0a34cdc Fix for https://issues.apache.org/activemq/browse/AMQ-1728
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656343 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 18:09:37 +00:00
Hiram R. Chirino 139a220ee7 fix for AMQ-1724
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@656319 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 15:32:54 +00:00