Commit Graph

2415 Commits

Author SHA1 Message Date
Robert Davies 4118d02a95 patch for https://issues.apache.org/activemq/browse/AMQ-1585
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@673433 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 16:22:59 +00:00
Robert Davies 3f4d4a5f7a Fix for https://issues.apache.org/activemq/browse/AMQ-1585
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@673157 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 17:59:37 +00:00
Robert Davies bdbced30d8 Fix for https://issues.apache.org/activemq/browse/AMQ-1834
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@673143 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 17:13:52 +00:00
Hiram R. Chirino db2451cfd9 Possible fix for AMQ-1819.. Hopefully sending the broker info async will break the deadlock.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@670045 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 19:46:34 +00:00
Robert Davies 6eeb2699dc Fix for https://issues.apache.org/activemq/browse/AMQ-1816
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669973 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 16:26:49 +00:00
Robert Davies c49cb00200 exclude MissingDataFileTest for now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669951 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 15:43:53 +00:00
Robert Davies a918194d80 Fix for https://issues.apache.org/activemq/browse/AMQ-1814
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669879 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 12:52:41 +00:00
Robert Davies f7303237ad Apply patch for https://issues.apache.org/activemq/browse/AMQ-1244
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669733 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 22:45:13 +00:00
Robert Davies d8a0ca2fed Fix for https://issues.apache.org/activemq/browse/AMQ-1804
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669555 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 16:51:00 +00:00
Robert Davies 4bbfe2e9a8 Fix for https://issues.apache.org/activemq/browse/AMQ-1812
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669545 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 16:35:44 +00:00
Robert Davies 1acfd0d607 Fix for https://issues.apache.org/activemq/browse/AMQ-1805
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669519 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 15:59:53 +00:00
Robert Davies 1555260c6c apply fix for https://issues.apache.org/activemq/browse/AMQ-1810
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669512 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 15:37:03 +00:00
Robert Davies e38da226ef apply fix for https://issues.apache.org/activemq/browse/AMQ-1810
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669511 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 15:35:56 +00:00
Robert Davies 73edcbc2e9 Fix for https://issues.apache.org/activemq/browse/AMQ-1811
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669491 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 14:00:22 +00:00
Robert Davies 8d4001ad0b Further patch for https://issues.apache.org/activemq/browse/AMQ-1795
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669265 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 19:34:27 +00:00
Robert Davies b52624e66b Apply patch from https://issues.apache.org/activemq/browse/AMQ-1808
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@669263 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 19:29:54 +00:00
Guillaume Nodet 2e57fb5fd9 AMQ-1802: extract activemq pool in its own module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@668559 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 08:16:50 +00:00
Guillaume Nodet 702e2a0170 AMQ-1801: Extract camel component in its own module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@668217 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 16:11:38 +00:00
Robert Davies 0d8586903a Fix for https://issues.apache.org/activemq/browse/AMQ-1796
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@668146 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 12:57:29 +00:00
Robert Davies 5441774883 Fix for https://issues.apache.org/activemq/browse/AMQ-1799
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@668061 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 06:30:25 +00:00
Robert Davies 086db1b4c6 Fix for https://issues.apache.org/activemq/browse/AMQ-1797
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@667756 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 08:34:15 +00:00
Robert Davies 2e4c688cdc Fix for https://issues.apache.org/activemq/browse/AMQ-1797
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@667752 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:59:36 +00:00
Robert Davies 35706757e2 remove System.err.println
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@667123 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 15:01:01 +00:00
Robert Davies 996e1eb2c0 change stdout
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@667122 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 14:59:29 +00:00
Robert Davies 6f69f1914a Patch applied for https://issues.apache.org/activemq/browse/AMQ-1795
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@667105 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 14:31:27 +00:00
Robert Davies 4a052d20b1 Fix for https://issues.apache.org/activemq/browse/AMQ-1771
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@666893 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:12 +00:00
Hiram R. Chirino 1dc4b25c82 camel backward compt was restored.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@666657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 13:24:44 +00:00
Hiram R. Chirino 6453ebbd12 Don't setup an SssContext by default, so that system properties can be used to configure the ssl settings.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@666646 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 12:52:03 +00:00
Robert Davies 4b27e761c7 Fix for https://issues.apache.org/activemq/browse/AMQ-1790
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@666617 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 10:54:26 +00:00
Robert Davies 32364744ee Fix for https://issues.apache.org/activemq/browse/AMQ-1788
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@666607 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 10:36:26 +00:00
Robert Davies 944145b191 patch for https://issues.apache.org/activemq/browse/AMQ-1779
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@664079 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 18:56:02 +00:00
Robert Davies efecce6f6e Fix for https://issues.apache.org/activemq/browse/AMQ-1712
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663980 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 15:21:17 +00:00
Robert Davies 60d4d48fbf Further change for https://issues.apache.org/activemq/browse/AMQ-1771
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663691 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 18:11:46 +00:00
Robert Davies e40e2ac67a Applied patch for https://issues.apache.org/activemq/browse/AMQ-1768
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663689 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 18:08:47 +00:00
Robert Davies f7fa2bc58d Fix for https://issues.apache.org/activemq/browse/AMQ-1771
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663680 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 17:57:55 +00:00
Robert Davies aee5d25e41 Fix for https://issues.apache.org/activemq/browse/AMQ-1774
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663644 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 15:52:51 +00:00
Robert Davies c5e1eae2e3 Fix for https://issues.apache.org/activemq/browse/AMQ-1773
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663642 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 15:34:58 +00:00
Robert Davies 3103fa9969 Applied patch for https://issues.apache.org/activemq/browse/AMQ-1770
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663639 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 15:18:43 +00:00
Robert Davies 55409bdea0 Fix for https://issues.apache.org/activemq/browse/AMQ-1772
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663604 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 13:29:59 +00:00
Hiram R. Chirino 3224ff8a0a make sure that the task runner is the first thing setup since other startup bits might want to do an async send.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663178 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 15:15:57 +00:00
Robert Davies 0acf54586f Fix for https://issues.apache.org/activemq/browse/AMQ-1760
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663059 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 10:52:13 +00:00
Robert Davies 5cd2921c4e Apply patch for https://issues.apache.org/activemq/browse/AMQ-1761
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663048 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 10:20:47 +00:00
Robert Davies 2ccbdefc69 Fix for https://issues.apache.org/activemq/browse/AMQ-1766
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663032 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 08:35:00 +00:00
Hiram R. Chirino 47ea0980f0 Fixed test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661719 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 13:48:01 +00:00
Robert Davies 0d55a80a43 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661684 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 12:27:47 +00:00
Robert Davies 76207f168e Fix broken test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661683 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 12:27:17 +00:00
Robert Davies 4ecc89eca0 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1758
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661663 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 11:44:19 +00:00
Robert Davies db4f602e8c Further tidying up for https://issues.apache.org/activemq/browse/AMQ-1704
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@661661 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 11:36:47 +00:00
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
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 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
Robert Davies 2e137fb125 Apply patch for http://issues.apache.org/activemq/browse/AMQ-1714
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655805 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 10:51:38 +00:00
Hiram R. Chirino b4f65bafac Fix for https://issues.apache.org/activemq/browse/AMQ-1720
added the ability to get a callback when the broker is shutdown.  Also added an option to System.exit when the broker is shutdown.




git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655639 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 20:54:31 +00:00
James Strachan 2eefd150f0 added refactor to make it easier to create endpoint instances from a spring.xml with minimal constructors for https://issues.apache.org/activemq/browse/CAMEL-505
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655516 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 15:18:52 +00:00
Hiram R. Chirino 2dc9fa98a8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652613 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 18:28:39 +00:00
Hiram R. Chirino 4e1c52bb27 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652611 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 18:28:06 +00:00
Hiram R. Chirino 4512f27fdd Fix threading issue which was causing a memory leak. Basically the writes were getting added to the in flight map
after they were enqueued to get written and in that time span they could be been processed and the remove() would occur before the add witch caused the leak.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652562 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 16:02:59 +00:00
Hiram R. Chirino faaccf3391 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652512 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:22:35 +00:00
Hiram R. Chirino 7f073eb532 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652510 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:22:13 +00:00
Robert Davies 290f51a1eb Fix for https://issues.apache.org/activemq/browse/AMQ-1699
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652440 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:43:08 +00:00
Robert Davies 5a27904d1d Fix for https://issues.apache.org/activemq/browse/AMQ-1705
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652438 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:36:20 +00:00
Robert Davies 8248314204 Fix for https://issues.apache.org/activemq/browse/AMQ-1542
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652437 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 06:10:08 +00:00
Hiram R. Chirino a3fb0301f9 Fixing test - it has some bad timing assumptions.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652413 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 00:46:36 +00:00
Hadrian Zbarcea 101a3e453a Removed timing dependent asserts in test that could cause intermittent failures.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652368 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 12:31:46 +00:00
Robert Davies a61e5bce17 Fix for https://issues.apache.org/activemq/browse/AMQ-1509
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652305 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:52:36 +00:00
Robert Davies 7a238556e3 Fix for https://issues.apache.org/activemq/browse/AMQ-1698
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:49:55 +00:00
Robert Davies b35bc797ec Fix for https://issues.apache.org/activemq/browse/AMQ-1702
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652302 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:48:20 +00:00
Robert Davies 9341f16442 Fix for https://issues.apache.org/activemq/browse/AMQ-1701
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652300 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 06:36:53 +00:00
Hadrian Zbarcea c4aae53139 Fix typos in tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652181 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:46:39 +00:00
Hadrian Zbarcea c65a66fe3e AMQ-1677. Spring dependencies.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652107 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:55:10 +00:00
Hiram R. Chirino be47d0b392 applying a modified version of that patch attached to https://issues.apache.org/activemq/browse/AMQ-1689
- This reduces the the number of disk syncs that the broker does on some workloads which increases performance
 - Fixed and issue where the last write to disk migh get lost on broker shutdown.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651637 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 16:15:20 +00:00
Robert Davies 8bf2d78cb2 start consumers/producers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651619 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:49:58 +00:00
Robert Davies 803abe48a4 Apply patch for http://issues.apache.org/activemq/browse/AMQ-1690
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651618 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:42:45 +00:00
Hiram R. Chirino d8be50b617 Applied patch from AMQ-1686 thanks Gary
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651316 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 17:03:47 +00:00
Hiram R. Chirino 44e0eaf1f4 Fix for http://issues.apache.org/activemq/browse/AMQ-1681
- Avoid logging object leak when temp destination are created and destroyed.


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651300 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 16:02:16 +00:00
Robert Davies d3ebc9cd21 Fix for https://issues.apache.org/activemq/browse/AMQ-1683
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651242 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:23:17 +00:00
Hiram R. Chirino 347f8eca1b synchronize the asyncWrite method. To avoid the following reported stack trace:
Running org.apache.activemq.broker.region.cursors.CursorDurableTest
Exception in thread "Persistence Adaptor Task" java.lang.NullPointerException
        at org.apache.activemq.store.amq.AMQMessageStore$4.execute(AMQMessageStore.java:381)
        at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:44)
        at org.apache.activemq.store.amq.AMQMessageStore.doAsyncWrite(AMQMessageStore.java:374)
        at org.apache.activemq.store.amq.AMQMessageStore.asyncWrite(AMQMessageStore.java:341)
        at org.apache.activemq.store.amq.AMQMessageStore$1.iterate(AMQMessageStore.java:95)
        at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
        at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 303.672 sec <<< FAILURE!

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 17:46:05 +00:00
Robert Davies cbb290c0b3 updated some defaults
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650930 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 16:18:06 +00:00
Hiram R. Chirino 147021394a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650873 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 14:01:23 +00:00
Hiram R. Chirino ad089f5e46 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650871 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 14:00:11 +00:00
Robert Davies 620b657216 Fix for https://issues.apache.org/activemq/browse/AMQ-1654
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650766 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 07:10:22 +00:00
Robert Davies 18f9773326 Fixes for https://issues.apache.org/activemq/browse/AMQ-1678
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650763 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 06:57:51 +00:00
Hiram R. Chirino 4f0c105395 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650588 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 17:35:50 +00:00
Hiram R. Chirino ad25a169dd [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650586 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 17:34:50 +00:00
Hiram R. Chirino 62aba75153 Fixing osgi export
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650578 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 17:13:32 +00:00
Robert Davies ad2465ace8 removed unused import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650387 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 06:07:04 +00:00
Robert Davies 35635f925d Fix for https://issues.apache.org/activemq/browse/AMQ-1667
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650386 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 06:03:17 +00:00
Robert Davies 16f2d753e8 Fix for https://issues.apache.org/activemq/browse/AMQ-1672
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650143 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 13:41:19 +00:00
Robert Davies 4a6699e33b tidied imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649713 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 22:26:30 +00:00
Hiram R. Chirino e4ee0b2440 When sending directly, do it outside the valve lock to avoid a deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649708 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 22:06:04 +00:00
Hiram R. Chirino 0c8afd13fb Fixing test case that broke
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 19:30:33 +00:00
Hiram R. Chirino c382b5048d Bad logic was not propagating the transport exception up.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649658 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 19:12:07 +00:00
Robert Davies 54a93378ac Applied patch for https://issues.apache.org/activemq/browse/AMQ-1674
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649643 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 18:22:40 +00:00
Hiram R. Chirino 7fed5d871f Added some additional comments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649623 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 17:39:33 +00:00
Robert Davies b544fc0817 Add back setBrokerName()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649617 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 17:19:41 +00:00
Hiram R. Chirino 27b5885338 Add lic headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649602 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 16:43:37 +00:00
Hiram R. Chirino 618380f66e Updating the xsd location..
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649594 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 16:31:27 +00:00
Hiram R. Chirino 19c9bc5a2f adding lic headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649580 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 15:45:57 +00:00
Robert Davies 0326ab7d44 loosen synchronization around parameter setting - to reduce contention
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649579 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 15:45:29 +00:00
Hiram R. Chirino 4c125db790 Addin xbean mapping for new namespace
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649577 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 15:45:01 +00:00
Hiram R. Chirino 61c8093258 AMQ-1673
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649569 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 15:21:11 +00:00
Hiram R. Chirino c275d4c3ac AMQ-1673: Namespace updated.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649568 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 15:18:19 +00:00
Robert Davies ce9255979b update percentUsage correctly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649551 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 14:28:12 +00:00
Hiram R. Chirino e413887ee0 Fixing build.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649527 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 13:21:42 +00:00
Hiram R. Chirino efef86d392 Fixed the problems with the xsd and updated the distributed activemq.xml files so that they validate against it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649273 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 21:06:26 +00:00
Hiram R. Chirino 9e3bb2fbaa Fixing up the xsd
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649243 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 19:26:45 +00:00
Hiram R. Chirino f02b352aaa Disabling the xbean mapping from the build and including it's current generated stuff in the soruce.. it was producing invalid xsds
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649231 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 19:00:22 +00:00
Hiram R. Chirino 5d99c99ab7 Fix for https://issues.apache.org/activemq/browse/AMQ-1670 you should now able able to add transports before configuring the reset of
the broker properties.  Also slightly changed the TransportFactory interface so that you are not forced to supply a brokerId to bind
a transport.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649211 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 18:09:37 +00:00
Robert Davies 18aa1596a2 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1666
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649191 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 17:10:57 +00:00
Robert Davies 481ce1ca96 make sure we delete the db before running a test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649189 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 17:08:08 +00:00
Robert Davies 09d7d5a9e1 Apply patch from https://issues.apache.org/activemq/browse/AMQ-1665
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649187 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 17:05:05 +00:00
Robert Davies 9034af7cf4 Fix for https://issues.apache.org/activemq/browse/AMQ-1669
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648887 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 22:36:08 +00:00
Robert Davies 5afe81ae4c tidied imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648884 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 22:31:40 +00:00
Robert Davies ad69a95979 extra synchronization
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648708 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 14:34:03 +00:00
Hiram R. Chirino 7008fc3988 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648267 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 14:38:02 +00:00
Hiram R. Chirino 552ca7b453 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648265 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 14:37:21 +00:00
Hiram R. Chirino ce7495ec1e Avoid the ugly 'Async exception with no exception listener' message from showing up in the output when shutting down the broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648250 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 13:40:10 +00:00
Robert Davies ed91722787 removed synchronization around readLocation() - after verifying
its only required on  https://issues.apache.org/activemq/browse/AMQ-1650

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648117 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 04:51:22 +00:00
Hiram R. Chirino ffdc4176f3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647951 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 19:24:45 +00:00
Hiram R. Chirino 86e8f3dfaf [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647948 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 19:23:55 +00:00
Hiram R. Chirino a0a3d638b3 Fixing up some missing license headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647916 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 17:33:14 +00:00
Hiram R. Chirino 474dc137b2 Fixing up some missing license headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647915 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 17:32:33 +00:00
Hiram R. Chirino 08393aa269 Added test case to trunk showing that AMQ-1438 is no longer an issue on the trunk.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647882 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 16:24:07 +00:00
Robert Davies 931ed7673d Fix for:
https://issues.apache.org/activemq/browse/AMQ-1255


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647872 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 16:02:12 +00:00
Robert Davies bff39c565b Test case for https://issues.apache.org/activemq/browse/AMQ-1255
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647862 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 15:51:06 +00:00
Robert Davies 5d84ead9ab spring cleaning
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647861 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 15:50:30 +00:00
Hiram R. Chirino 15b5d84ce0 reanmed the version pom variable to activemq-version
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647857 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 15:41:37 +00:00
Hiram R. Chirino 0fb77544a3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647269 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 19:00:54 +00:00
Hiram R. Chirino 42bd3c82e2 [maven-release-plugin] prepare release activemq-5.1.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647267 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 19:00:05 +00:00
Hiram R. Chirino a4212eab6f Fixing up build to be able to release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647252 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 18:13:37 +00:00
Robert Davies 00c9e01ba4 Small test to ensure Temp destinations are cleared from the destinationMap
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@647172 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 14:03:57 +00:00
David Jencks 1da24aafe1 AMQ-1659 Fix want/needClientAuth code and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646936 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 19:41:31 +00:00
David Jencks 507ef42e59 AMQ-1489 add comment on possible workaround
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646930 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 19:21:08 +00:00
Hiram R. Chirino be0446fd2a Make sure we close the lock file even if we failed to lock it.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646886 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 17:27:53 +00:00
Robert Davies dfcf776e5d Fix for https://issues.apache.org/activemq/browse/AMQ-1656
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646880 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 17:18:05 +00:00
Robert Davies 0e5dda068c move back to acquire lock before opening initializing index managers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646877 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 17:13:55 +00:00
Robert Davies 520a2ded04 Applied patch for https://issues.apache.org/activemq/browse/AMQ-1465
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646803 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 13:43:46 +00:00
Robert Davies 97a646c5a8 Correct test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646673 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 08:01:08 +00:00
Robert Davies 85ebf3616e updated for topics too
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646664 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 06:31:06 +00:00
Robert Davies b2fd5d6456 Fix getDestinations()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646564 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 22:18:16 +00:00
Robert Davies b4c3a30b9e Fix for https://issues.apache.org/activemq/browse/AMQ-1103
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646477 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:37:26 +00:00
Robert Davies 114a923779 Updated to support sendTimeouts - see https://issues.apache.org/activemq/browse/AMQ-1517
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646437 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 17:02:04 +00:00
Robert Davies aba1195cc5 Fix for https://issues.apache.org/activemq/browse/AMQ-1623
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646422 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 16:25:38 +00:00
Robert Davies 8bf9c17dd9 Throw an exception if advisory messages are disabled when creating networks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646409 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:41:33 +00:00
Robert Davies 6b6cdaee34 Fix for https://issues.apache.org/activemq/browse/AMQ-1488
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646401 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:27:42 +00:00
Robert Davies 50bc597fa8 Fix for https://issues.apache.org/activemq/browse/AMQ-1651
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646400 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:14:58 +00:00
Robert Davies 4acbd5900a Fix for https://issues.apache.org/activemq/browse/AMQ-1456
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646395 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:03:42 +00:00
Robert Davies 3ee5854e90 Fix for https://issues.apache.org/activemq/browse/AMQ-1487
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646363 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 14:09:16 +00:00
Robert Davies cec77fd12a Fix for https://issues.apache.org/activemq/browse/AMQ-1451
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646354 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 13:56:47 +00:00
Robert Davies 456c1b157b Applied patch from https://issues.apache.org/activemq/browse/AMQ-1640
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646340 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 13:38:47 +00:00
Robert Davies d11480f42c Fix for https://issues.apache.org/activemq/browse/AMQ-1650
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646332 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 13:21:41 +00:00
Robert Davies d77d82e33d Apply patch for https://issues.apache.org/activemq/browse/AMQ-1620
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646299 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 12:23:26 +00:00
Robert Davies c338d3e0e5 Patch applied for https://issues.apache.org/activemq/browse/AMQ-1607
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646286 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 11:48:45 +00:00
Robert Davies 4ba4853402 Applied patch for https://issues.apache.org/activemq/browse/AMQ-1629
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646268 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 11:10:54 +00:00
Robert Davies 5c7374bfae Fix for https://issues.apache.org/activemq/browse/AMQ-1578
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646258 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 10:23:59 +00:00
Robert Davies 5660ebc8f2 Applied patch for https://issues.apache.org/activemq/browse/AMQ-1647
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646254 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 10:13:11 +00:00
Robert Davies ed4d6f66cb test for loading temp destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646251 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 10:05:20 +00:00
Robert Davies 3eb06105d3 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1631
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646248 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 09:54:28 +00:00
Robert Davies f1b6362ded Applied patch for https://issues.apache.org/activemq/browse/AMQ-1511
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646245 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 09:45:22 +00:00
Robert Davies 60ba951914 Fix for https://issues.apache.org/activemq/browse/AMQ-1254
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646219 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 08:26:36 +00:00
Robert Davies 3f98639235 updates for https://issues.apache.org/activemq/browse/AMQ-1645
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646205 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 07:11:08 +00:00
Hiram R. Chirino 981cc9d949 Making build work.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646001 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 17:12:02 +00:00
Robert Davies 62fb85e6b9 Fix for https://issues.apache.org/activemq/browse/AMQ-1646
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645999 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 17:00:13 +00:00
Hiram R. Chirino af27811a75 Merged in the rest of djencks's release changes from the 4.1 branch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645991 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 16:28:08 +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 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