2200 Commits

Author SHA1 Message Date
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