Commit Graph

2479 Commits

Author SHA1 Message Date
James Strachan 3028a2faa1 added an embedded jetty server to host the web-console in the default activemq.xml for AMQ-1194
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517713 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 14:48:44 +00:00
James Strachan a7344588c9 added a better error message if there is no broker available
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517706 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 14:29:28 +00:00
James Strachan a51a7d53e2 added a helper method to access the current singleton broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517687 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 13:24:23 +00:00
James Strachan 3e09007cc1 added the ability to connect to a broker running in the same class loader (but not the same Spring context)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517686 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 13:23:57 +00:00
James Strachan 274a951901 zapped some old test cases and added a new one which ensures that the activemq.xml file shipped with the distro actually works
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517674 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 12:48:52 +00:00
James Strachan ea42012ef1 added a file: based handler for the broker factory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517671 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 12:47:19 +00:00
James Strachan 0ae6a1d6aa added helper method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517659 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 12:08:25 +00:00
Robert Davies 93d1087726 flush messages into journal on stop
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517567 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 06:56:08 +00:00
Robert Davies 0527ebacc9 increment reference count on send
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517264 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 15:49:58 +00:00
Hiram R. Chirino 7de0e81995 Porting over tests in the 4.1 branch and updated the UsageManager so that if a Limit is set, then
it is used instead of being % based off the parent.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517222 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 14:01:01 +00:00
Robert Davies c0af1f5116 resolved class cast exception
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516756 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 17:38:46 +00:00
Robert Davies e8b12e4eaf initialize brokerInfo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516664 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 08:31:49 +00:00
Hiram R. Chirino fb3b6dba57 Enhanced the ActiveMQConnection to use the CommandVisitor instead of using a big if swtich
when handling commands from the broker.  This should be slightly more efficient.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516492 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 18:23:44 +00:00
James Strachan bdef2f52d0 enable XMPP by default in the stand alone broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516482 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:46:07 +00:00
James Strachan 1ffb7fc6e3 tidied up the config file for the web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516481 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:45:08 +00:00
Hiram R. Chirino 4207bd9cc0 Adding the bits need to do producer flow control with a window to the broker. Just implemented on the Queue case for now.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516475 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:29:30 +00:00
James Strachan 8e7fa346f7 Upgraded to newer jetty release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516471 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:21:47 +00:00
Robert Davies 9a79d3411d set duplex property
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516450 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 16:34:32 +00:00
Hiram R. Chirino 4569d7d28d Refactor so that the ProducerBrokerExchange is passed all the way down to the Topic and Queue implementations.
This is laying the ground work to implement window based producer flow control.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516444 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 15:59:14 +00:00
James Strachan 24984276fc Tidied up the activemq.xml file shipped in the distro. Also by default we now embded Jetty so that we can include the web console, or an out of band file transfer mechanism by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516442 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 15:52:13 +00:00
James Strachan 82201d28dd Use the broker name in the directory used for the AMQStore and temp-store area
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516439 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 15:47:05 +00:00
Robert Davies 19bab2bbb2 fix typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516429 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 15:21:12 +00:00
Robert Davies dda3e2a429 added isStoreValid() method - used by AMQStore to determine if references need to be rebuilt
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516408 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 13:30:33 +00:00
Robert Davies 82d19974d8 added isStoreValid() method - used by AMQStore to determine if references need to be rebuilt
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516407 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 13:28:14 +00:00
James Strachan cb3becf3c4 avoid NPE I was getting in the web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516401 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 12:48:36 +00:00
Robert Davies ba54ee86b2 added toString() method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516315 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 06:38:06 +00:00
Robert Davies b5a42599b1 use async=false for now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516169 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:35:26 +00:00
Hiram R. Chirino 17c1ed7174 better css tweak
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516153 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 19:15:32 +00:00
Hiram R. Chirino c785ff7738 Fixed up styles a little. Added lic headers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516150 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 19:12:18 +00:00
Hiram R. Chirino c9bb1c97b2 Adding the client side bits needed to implement producer flow control using a window. Currently disabled since
the server side bits still need implementing.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516139 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 18:44:03 +00:00
James Strachan 4d6cba2548 trivial rename of link
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516136 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 18:35:47 +00:00
James Strachan 39db2d4ce6 updated the web console to use the ActiveMQ look and feel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516133 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 18:30:57 +00:00
James Strachan 5869f755bc added support for message deletion on the web console to fix AMQ-1197
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516117 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:47:38 +00:00
Robert Davies 67fd739b3a Delete duplicate and redundant tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516113 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:30:46 +00:00
Robert Davies 57ea011bee ensure connection state (e.g. consumers) are delivered before testing message consumption
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516104 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:16:18 +00:00
Hiram R. Chirino f2acaa2110 added missing lic header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516074 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 15:35:15 +00:00
Robert Davies 2a6a441fb0 ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516067 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 15:14:45 +00:00
Robert Davies 1d846a9e61 ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516063 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 14:53:40 +00:00
James Strachan 5143838fa3 Moved the version numbers of jars into the root pom
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516049 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 14:20:49 +00:00
Hiram R. Chirino 885c379914 Set the eol-style to native
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516048 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 14:20:29 +00:00
James Strachan e935c5ad3b added some extra properties to the MessagePull command for when we implement AMQ-1196
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516040 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:38:40 +00:00
Robert Davies eeafa1cfef use request() instead of send()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516039 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:28:59 +00:00
James Strachan e39a679d2f fix broken test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516038 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:28:58 +00:00
Robert Davies d7a14830c7 use request() instead of send()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516034 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:19:03 +00:00
James Strachan 544ffe9dce re-enabled some tests and tinkered to make a frew work better
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516031 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:11:12 +00:00
James Strachan 222dd260e6 fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516030 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:09:25 +00:00
Robert Davies 12fa4de5c6 ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516012 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 11:16:12 +00:00
Robert Davies c97b97ed88 close connection before restarting the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516008 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:59:29 +00:00
Robert Davies 8ad375ff60 on close() don't storeState in synchronized block - as it can lead to a deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516007 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:58:41 +00:00
Robert Davies da13d596a5 use async dispatch for vm:// transport by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515999 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:22:22 +00:00