Commit Graph

2800 Commits

Author SHA1 Message Date
James Strachan 8b1f5a7202 * added test case to demonstrate query-based subscription recovery policy in action.
* minor refactor to the SubscriptionRecoveryPolicy API to make it easy to generate messages from inside the recovery policy

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357732 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 17:43:22 +00:00
Hiram R. Chirino 99ee7f85ef make public to fix build
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357727 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 17:20:57 +00:00
Hiram R. Chirino 6d85b4b654 putting a sub module directory layout for activeio
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357726 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 16:55:13 +00:00
Hiram R. Chirino 06bfecb6ed doing 3.x reorg
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357725 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 16:50:54 +00:00
James Strachan 298ccf2a77 avoided NPE in a number of test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357717 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 16:19:51 +00:00
James Strachan 7c7cca9dfb added a helper class and strategy method for people wishing to implement their own custom MessageQuery strategies to be fired as a new subscriber is created
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357712 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 15:54:17 +00:00
James Strachan cf3516ec55 removed crufty dependencies
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357693 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 14:11:18 +00:00
James Strachan 384e290b7f added enqueue/dequeue statistics at the Connection/Connector level in JMX
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357683 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 12:22:09 +00:00
Frederick G. Oconer 0bf5ab3724 Added goal that will deploy activemq-core-test-<vrsn>.jar
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357668 13f79535-47bb-0310-9956-ffa450edef68
2005-12-19 09:07:34 +00:00
Adrian T. Co 22307339a5 Ported tcp test case. Explicitly specify not to use embedded broker in ActiveMQConnectionFactory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357310 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 06:13:59 +00:00
Adrian T. Co 6870470c6d Disabled http test, since it is not yet available.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357307 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 06:01:11 +00:00
Adrian T. Co 77cf351be1 Ported some of the broker network config files to the new xml format. Added initial test cases to test the configurations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357304 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 05:49:15 +00:00
Adrian T. Co d30a42cd34 test commit
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357258 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 00:14:27 +00:00
James Strachan 943eecc8d6 added an m2 pom from George Gastaldi (who's a committer we just don't have his CLA on file yet)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357205 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 18:39:54 +00:00
James Strachan 24389c4929 added some more JMX stats
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357195 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 17:48:33 +00:00
James Strachan 2c6156085c removed dead code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357194 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 17:48:17 +00:00
James Strachan bf65e7d3cf rolled back the use of ObjectName.quote() as it appends quotes and went back to Hiram's original code which looks much nicer in JMX consoles :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357184 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 17:08:15 +00:00
Robert Davies 634ac91c3d son't use createMBean() on jmx server as class might not be in the same class loader
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357174 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 15:54:54 +00:00
James Strachan 0d6f94b93d allow multiple calls to start() as its quite easy to do these days with all the different configuration mechanisms (URI, spring, xbean, command line)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357158 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 13:56:13 +00:00
Frederick G. Oconer e4f8360348 fix for dist:deploy goal. running this will now deploy the distribution and poms to appropriate location.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357148 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 10:33:23 +00:00
Robert Davies 0f36e0231e Added a comment
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357146 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 09:17:42 +00:00
Jonas B. Lim 1416f77de3 added test cases to test release's activemq.xml. The test cases perform a publish/consume on both topic and queue.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357139 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 07:20:06 +00:00
Jonas B. Lim 4cb407cc4b committed the wrong file earlier. Also added the correct header
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357126 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 05:48:56 +00:00
Jonas B. Lim df6f3ba32a broker is already started automatically
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357125 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 05:41:03 +00:00
Frederick G. Oconer 9359ba25b6 Fixed repository url to point to apache svn.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357113 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 03:54:41 +00:00
James Strachan a37a074c81 tidied up the XBean factory bean to avoid it owning and closing the contained context.
also by default the broker is started when using the XML file

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357018 13f79535-47bb-0310-9956-ffa450edef68
2005-12-15 14:15:18 +00:00
James Strachan db0855c342 make the agent more resilient to ordering; whether a service is registered before starting or started first etc. We seem to have both in our code base
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357017 13f79535-47bb-0310-9956-ffa450edef68
2005-12-15 14:13:14 +00:00
Hiram R. Chirino 639265de9f Re-enable the use of continuations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356992 13f79535-47bb-0310-9956-ffa450edef68
2005-12-15 08:06:44 +00:00
James Strachan 20038a8264 updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356833 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 19:15:44 +00:00
James Strachan 5cba8d744d better logging on startup to reveal the journal configuration
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356827 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 19:00:44 +00:00
James Strachan 9fb8ee2dca added test case which demonstrates that you can start a JMS connection even when the broker is not there
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356815 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 17:35:27 +00:00
James Strachan f1bbfd3201 fixed bug that prevented the initialReconnectDelay value from being changed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356814 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 17:34:16 +00:00
James Strachan f25cc68fb1 removed possible threading error
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356776 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 13:45:12 +00:00
James Strachan 7316506346 fixed the SpringBrokerContextListener to spin up a broker from an ActiveMQ XML file (or at least an XBean file)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356775 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 12:37:34 +00:00
Hiram R. Chirino 829787ac1b Was having some wierd issues with the consumer.. disabled continuations for now (but i don't think that was the issue).
added a semaphore to avoid multiple blocking threads (i've got a feeling this might be what fixed it).



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356666 13f79535-47bb-0310-9956-ffa450edef68
2005-12-14 01:07:08 +00:00
Hiram R. Chirino 9b1345bb32 - Updated the config xml to use new discovery syntax.
- Using specific version of activeio as that may change a bit soon.
- The vm transport now support specifing a broker config file: vm://localhost?brokerConfig=xbean:/path/to/config/file
- Starting the JMX connector was taking a LONG time to start up... so I switch to starting it up async.
- The object name for a managed transport connection could be invalid so we now encode the name so that it's not.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356616 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 21:02:04 +00:00
James Strachan a558fef374 use the standard JMX quote method when creating JMX names
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356559 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 18:15:36 +00:00
James Strachan e73312534d add the conf directory to the classpath so that the release finds the log4j.properties file
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356526 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:26:19 +00:00
James Strachan 729ff22a4b fixed bad configuration file for the release
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356525 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:24:28 +00:00
James Strachan 687bf43d9f added a ConsumerListener so that you can listen to consumers coming and going easily (hiding the details of the Advisories behind a simple Bean API) as well as be notified on exactly how many consumers there are to be able to drive demand based publishing etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356524 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:21:32 +00:00
James Strachan e1cfbad4bc added test case for using the BrokerService with JMX
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356523 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:20:38 +00:00
James Strachan 1835e45369 added some helper methods to make it easy to see the type of removal event
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356522 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:20:11 +00:00
James Strachan ecfbe6168d avoid persistence and TCP by default in test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356521 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:19:37 +00:00
James Strachan 507bb1bbab fixed bug where setting the clientID on the MBean ObjectName could break a JMX name
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356520 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:19:06 +00:00
James Strachan 262a5596d9 optimisation; if a JMS exception has already been thrown then don't wrap it again
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356519 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:18:23 +00:00
James Strachan ab8f458612 removed old configuration documentation
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356518 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:17:50 +00:00
James Strachan 8f40a7eeca removed old configuration documentation
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356517 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:17:31 +00:00
James Strachan fba1488453 updated the build so that the recursive build works properly
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356368 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 20:28:34 +00:00
James Strachan 8f1763f078 Moved the trunk code into the trunk sub directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356307 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 17:57:25 +00:00
James Strachan 40a7d3b6ac Moved the trunk code into the trunk sub directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356304 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 17:53:59 +00:00