Commit Graph

3190 Commits

Author SHA1 Message Date
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
Hiram R. Chirino 56b6d3174a putting test-jars in the test scope.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@655610 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 19:21:30 +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
James Strachan 2532f5c4f1 Switched to 1.4-SNAPSHOT of camel to fix SetHeaderTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652820 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 16:57:38 +00:00
Hiram R. Chirino ac4d7504e1 fixing up version after release attempt
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652616 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 18:36:35 +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 1f1be5215f Including addtional spring bits in the assembly needed to get the default activemq configuration to boot up.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652601 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 18:14:36 +00:00
Hiram R. Chirino 54eb93e124 Fix for AMQ-1707
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652598 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 18:13:29 +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 935ab765ac fix build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652549 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 15:05:14 +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
Hiram R. Chirino 87dee22068 Make the test work on AIX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652392 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 14:49:26 +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
Hiram R. Chirino 453d2a25f5 Fix for AMQ-1691 and AMQ-1694
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652159 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:46:23 +00:00
Hiram R. Chirino 29b07eae49 make naming convention more consistent so it shows processor platform
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652123 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:07:24 +00:00
Hiram R. Chirino 22c63e65c7 Fix for AMQ-1691 and AMQ-1694
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652121 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:06:02 +00:00
Hiram R. Chirino aa62069349 Fix for AMQ-1696
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652111 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:59:06 +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 e57b646261 Don't test in the full profile
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651666 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 17:52:05 +00:00
Hiram R. Chirino d5634894f5 Fixing source ver problems
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 17:46:30 +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 e54a1261d5 Fix for https://issues.apache.org/activemq/browse/AMQ-1098
Use of https transport throws ClassCastException


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651320 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 17:42:37 +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
Hiram R. Chirino 4e6a637896 using SHIFT hacnges the way args are passed on so just use %* instead
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651289 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 15:23:10 +00:00
Hiram R. Chirino cd1b1d661d AMQ-1685 Made the activemq-admin scripts identical to the activemq ones except the start arg is not passed along. This should make them behave the same way.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@651288 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 15:19:25 +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 e9b1cd5282 Fixing up pom after the release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650893 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 14:44:07 +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
Hiram R. Chirino 349d7e1e81 Fixing ver for next release attempt
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650863 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 13:38:38 +00:00
Hiram R. Chirino 80a978807f Disable the command agent by default for now cause it tends to spew out errors when the broker is shutdown.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650859 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 13:24:18 +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 6aa07faceb Fix the build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650626 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 19:40:03 +00:00