Commit Graph

2648 Commits

Author SHA1 Message Date
Hiram R. Chirino 3e281cff12 Lets use a released version of 6.1 for now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@519234 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 04:17:38 +00:00
Hiram R. Chirino a59cd030f5 Implemented the per producer flow control on the Topic case too.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@519233 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 04:04:43 +00:00
Hiram R. Chirino a0e92d713b removed the caching of the marshalled form of a message.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518745 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 20:15:04 +00:00
Hiram R. Chirino f7a30b80fc Added test case that makes use of producer window flow control. So now even async sends can be flow controled so that an individual publisher can be stopped without stopping the entire connection.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518638 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 14:25:40 +00:00
James Strachan e4bc8e14f6 added snippet macro...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518636 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 14:17:48 +00:00
James Strachan c729994739 rolled back the creation of the file: scheme and made the xbean: scheme handle files or URLs as well as classpath resources
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518632 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 14:10:24 +00:00
James Strachan a640190fc4 added support for using a properties file to configure the broker to avoid the dependency on Spring and xbean; for AMQ-1206
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518590 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 11:39:04 +00:00
Hiram R. Chirino 489f5aa204 - Propagate the AlwaysSyncSend setting from the ConnectionFactory to the Connection
- Got rid of the UseSyncSend property since AlwaysSyncSend was already there and did the same thing.
- Updated VMPendingMessageCursor so that it updates the reference counters of the message so that the usage managers are properly updated since the messages are being kept in memory.
- Updated the region Queue so that it decrements the usage in the case of a transaction.
- Enabled the ProducerFlowControlTest since it is now working.


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518437 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 01:45:49 +00:00
James Strachan b72c28b8a6 added JDBC driver for Sybase for AMQ-1204
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518296 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 19:58:31 +00:00
James Strachan 7162f01b75 default the usageManager to 64Mb rather than the measily 20m :)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518260 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 18:37:31 +00:00
James Strachan 4443d32e5d tidied up the logging to reduce clutter & make it easier for users to see the URLs they can click on
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518191 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 15:45:16 +00:00
James Strachan 0315016d37 added the URLs which are available to run the Web Console or Web Demos when booting up activemq
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518157 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 14:45:12 +00:00
James Strachan db9a535f78 tidied the web app descriptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518107 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 12:19:46 +00:00
James Strachan 35fcee6a6b added web demos to broker by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517790 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 17:56:37 +00:00
Robert Davies fbd22b637c test for converting Properties to and from a String
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517764 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 16:39:46 +00:00
Robert Davies ae73f860b9 working towards a solution for http://issues.apache.org/activemq/browse/AMQ-920
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517753 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 16:19:58 +00:00
James Strachan 1d9737d577 updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517748 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 16:08:10 +00:00
Robert Davies 4741136695 add method to retrieve the URI used by the local VMTransport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517741 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 15:53:24 +00:00
James Strachan 8815bf8045 tidied up the web-console look and feel a bit more, adding the queue view as graph/xml to the nav bar
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517725 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 15:18:18 +00:00
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