Commit Graph

1293 Commits

Author SHA1 Message Date
Hiram R. Chirino 55ac4358a4 Implemented:
http://issues.apache.org/activemq/browse/AMQ-742



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412802 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 17:02:30 +00:00
James Strachan bf310ef475 added a helper class to make writing new broker plugins easier (its just one POJO) together with adding a simple LoggingBrokerPlugin
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412801 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 17:01:53 +00:00
Hiram R. Chirino 51daeeeeda Added a custom IOException so that apps interested in the Locked journal condition can more easily trap the error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412797 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 16:53:42 +00:00
Hiram R. Chirino 1b4eb12723 The onSendPrepareMessageBody connection property was not being used. Removed it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412783 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 15:50:29 +00:00
James Strachan c085df44f8 updated javadoc comments
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412781 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 15:37:36 +00:00
Hiram R. Chirino b4390246ca Fix for the following exception that could occur:
java.lang.UnsupportedOperationException
        at java.util.AbstractCollection.add(AbstractCollection.java:216)
        at java.util.AbstractCollection.addAll(AbstractCollection.java:318)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter.getDestinations(JournalPersistenceAdapter.java:139)        at org.apache.activemq.broker.region.AbstractRegion.getInactiveDestinations(AbstractRegion.java:193)
        at org.apache.activemq.broker.region.TopicRegion.getInactiveDestinations(TopicRegion.java:254)
        at org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:157)
        at org.apache.activemq.broker.region.TopicRegion.addConsumer(TopicRegion.java:113)





git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412772 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 15:26:02 +00:00
Hiram R. Chirino 703d468a49 Fixed overflow notification could eventually get into infinate recusion.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412759 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 14:15:55 +00:00
Adrian T. Co c56ae926a5 - Added default values
- Added checking for NPE

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412670 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 06:05:12 +00:00
Adrian T. Co 663b8a24f9 Added junit dependency to pom.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412665 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 05:23:15 +00:00
James Strachan 4b2f479073 refactored the XML output of the performance tests a little to make it XML compliant and to add a client index so its easy to render the XML in tables etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412483 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 18:40:19 +00:00
James Strachan 1ff39dbdec changed the defaults of the performance test mojos to be more normal (folks usually wanna see results for 1 producer/consumer and on a decent box they wanna see it go for about a minute) plus some minor refactorings to make the code a bit easier to maintain
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412467 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 17:47:06 +00:00
James Strachan fbdc95e6a3 added back csharp m2 repo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412454 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 16:50:56 +00:00
Guillaume Nodet 3324233455 Apply patch for AMQ-722
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412408 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 14:29:33 +00:00
James Strachan 15ae52dbd6 removed unnecessary repo from pom
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412401 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 13:28:21 +00:00
Jonas B. Lim 741cdeec2b added patch to run broker using a URI
ie. mvn activemq-perf:broker -Durl=broker:(tcp://localhost:61616)?useJmx=false


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412386 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 12:14:54 +00:00
Adrian T. Co 51eed37625 Change client prefix to consumer and producer prefix respectively.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412371 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 11:34:27 +00:00
Adrian T. Co ec74dd845c - Added fix for 1.4/1.5 compatibility issue
- Added fix for wrong counting of tokens
- Added test case for ReflectionUtil.java

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412364 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 10:58:34 +00:00
Frederick G. Oconer e332143fd8 Added report template in readme.text and fix when displaying system properties.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412361 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 10:43:52 +00:00
Frederick G. Oconer e8b3bdb866 Added all System properties in the generated report xml file and also included a readme.txt that contains information on how to use the performance test module.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412342 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 09:24:10 +00:00
Frederick G. Oconer edfe3df36b changed prefix consumer and producer to "client". Also, the broker can be started in activemq-perftest instead in the assembly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412301 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 06:17:14 +00:00
Frederick G. Oconer 4fb36fe50c Parameter cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412278 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 04:09:19 +00:00
Frederick G. Oconer 99b088dcd4 Changed DataOutputStream to PrintWriter when generating the report xml file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412256 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 02:34:18 +00:00
James Strachan cf0570f75e updated the snippet tags
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412147 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 15:20:54 +00:00
James Strachan 5128a70420 added a better example XML configuration file we can use for snippet macro examples
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412141 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 15:12:25 +00:00
James Strachan a0397468fa minor refactor to reuse the lazy construction logic of the DataSource across the journaled and pure JDBC persistence adapter
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412110 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 13:06:54 +00:00
James Strachan d273cf9c8c added better exception message if a dataSource is not provided
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412076 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 10:55:22 +00:00
Frederick G. Oconer 11a2950e16 Fixed error when starting perf test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412074 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 10:50:31 +00:00
Frederick G. Oconer 52602f0377 Changes:
1. Filename includes some config info of client.
2. Additional test information in the generated report.


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412046 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 08:43:13 +00:00
Adrian T. Co fa37910edd Fix 1.4 - 1.5 compatibility issues
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411967 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 01:54:07 +00:00
Hiram R. Chirino bc7aa98d45 trunk has moved onto 4.1 development.. if you want to work on 4.0.1 stuff, co the 4.0 branch!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411906 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 20:16:30 +00:00
James Strachan 2b0279a9af added test case and fix for AMQ-724
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411881 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 18:19:01 +00:00
Frederick G. Oconer 02dff3c0d3 commented out performance test plugin.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411841 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 16:09:43 +00:00
Frederick G. Oconer 264f0a3732 initial support for generating report xml file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411835 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 15:57:39 +00:00
Hiram R. Chirino 7976ad976e Applied http://issues.apache.org/activemq/browse/AMQ-711
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411832 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 15:51:35 +00:00
Gregory John Wilkins a4bb58725d cleaned up versions and dependencies to remove duplicates and to allow settings.xml overrides
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411792 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 13:53:38 +00:00
James Strachan 72555fe834 applied patch from Danielius Jurna on AMQ-736 - many thanks!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411788 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 13:48:45 +00:00
James Strachan ce6e1b4945 Rolled back upgrade to spring-2.0 as my mvn2 build was confusing me into thinking it actually works :(
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411776 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 13:02:51 +00:00
James Strachan 90fca6a3a4 disabled the UDP tests which fail on some platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411770 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 12:37:12 +00:00
James Strachan 11fd909837 disabled the UDP tests which fail on some platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411768 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 12:32:53 +00:00
James Strachan 6235a07700 Upgraded to Spring 2.0-M5
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411767 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 12:30:09 +00:00
James Strachan 7a369c4c0c disabled the UDP tests which fail on some platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411766 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 12:28:44 +00:00
James Strachan 871476e195 disabled the UDP tests which fail on some platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411743 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 11:14:27 +00:00
James Strachan 2db848f32d added test case for AMQ-736
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411733 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 10:33:45 +00:00
James Strachan f533b42f31 avoid NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411728 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 10:06:56 +00:00
Adrian T. Co 61fcd4cfd1 - Added support for distribution of destinations between clients
- Modify the support for composite destinations

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411727 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 10:06:34 +00:00
James Strachan dc2919e8ca commented out a couple of tests which seem to fail in m2
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411726 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 10:01:55 +00:00
James Strachan ed4f10bd6b fixed pom dependency
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411721 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 09:13:04 +00:00
Adrian T. Co 33d7070056 Add synchronization block.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411701 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 07:36:48 +00:00
Adrian T. Co 490407ed18 Forgot to notify the waiting threads.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411697 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 07:26:27 +00:00
Adrian T. Co 7d049c1344 - Add method to wait for performance sampler to finish
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@411695 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 07:25:15 +00:00