summaryrefslogtreecommitdiff
path: root/qpid/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1202: Rebind durable subscriptions if the arguments have changedAidan Skinner2008-08-191-8/+25
| | | | | | | | TopicExchange: take field arguments into account when determining if topic binding already exists when binding, but not for regular isBound(). DurableSubscriptionTest: add test case for QPID-1202 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687010 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1226 : Last few changes to correctly shutdown all ApplicationRegistries ↵Martin Ritchie2008-08-185-3/+41
| | | | | | on each test run git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1246 : set execute permissions on the bin scriptsMartin Ritchie2008-08-158-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1239: changed the way QPID_ARGS is setArnaud Simon2008-08-141-10/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1136 : Fixed Flow Control problem due to this change and added test to ↵Martin Ritchie2008-08-125-17/+7
| | | | | | validate that Flow Control is operating correctly git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1193 : Actually removed the calls that pass in the ugly nullMartin Ritchie2008-08-112-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684714 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1193 : re-added createQueue(AMQQueue queue) method, after code review call.Martin Ritchie2008-08-113-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684710 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1218: cleaned up the interface to IoTransport a bit; added IoAcceptor; ↵Rafael H. Schloming2008-08-091-2/+2
| | | | | | fixed Session tracking of sync point; default JAVA inside qpid-run git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684182 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1218 Optionally use IoTransport, it's hot, but doesn't pass all the ↵Aidan Skinner2008-08-081-0/+11
| | | | | | tests yet. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@684016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1210: added missing \Rafael H. Schloming2008-08-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1136 : Provided a fix for the leak in UnacknowledgedMessage when ↵Martin Ritchie2008-08-088-84/+144
| | | | | | acking. Added a new InternalBrokerBaseCase for performing testing on the broker without using the client libraries. This allows for testing closer to AMQP. Merged from M2.1.x git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1224: add methods to get the list of message ids from a queue, with ↵Aidan Skinner2008-08-083-0/+204
| | | | | | optional offset. Test class for this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683932 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1213: Patch from rgodfrey to refactor AbstractJMSMessage and ↵Rafael H. Schloming2008-08-072-7/+1
| | | | | | descendants to move AMQP version specific code into delegates and remove unnecessary conversion between 0-8 and 0-10 objects git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1195 , QPID-1193 Initial changes to allow bind and queue arguments to ↵Martin Ritchie2008-08-0715-65/+770
| | | | | | be stored and recovered from the MessageStore. Created a test to validate that the stored values can be recovered. DerbyStore hasn't fully been implemented. Surrounding work has been done and tested with BDBMessageStore. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683632 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1218: fix stupid used-only-by-tests method breakage that I have exposedAidan Skinner2008-08-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1218: Boost broker performance by lots.Aidan Skinner2008-08-079-71/+54
| | | | | | | | | | | | | | AMQMessage: Allow references to be incremented in a pile IncomingMessage: Increment message references in one go, flatten delivery loop a little. Make _destinationQueues an ArrayList, massively increasing performance. Iter ate through it with indexing AccessResult: don't use StringBuilder so much Update tests and exchanges to reflect new API usage, almost all of this is just type narrowing except for Topic where there's an extra copy, but it isn't too bad relative to the number of HashSet and HashMap operations that go on inside there. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@683583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1210: made qpid-run output level configurableRafael H. Schloming2008-07-311-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@681476 13f79535-47bb-0310-9956-ffa450edef68
* added defaulting of QPID_HOMERafael H. Schloming2008-07-302-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680987 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1187 : The broker did not correctly handle subscriptions that would ↵Martin Ritchie2008-07-231-1/+5
| | | | | | suspend due to exhaustion of bytes credit. The processQueue loop would spin, this fix marks the subscription inactive for that loop in processQueue so it will stop processing that subscription and ultimately the whole processQueue loop if required. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1182 : Added additional logging to identify the exception that caused ↵Martin Ritchie2008-07-175-19/+35
| | | | | | Authentication to fail. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-871 : The shutdown change had a spurious getInstance() call which would ↵Martin Ritchie2008-07-161-8/+14
| | | | | | case a new instance of ID 1 to be created if there wasn't one, it would then procede to shutdown that MBeanServer not the MBeanServer attached to the ApplicationRegistry that is being shutdown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1181 : Added additional logging to help diagnose a NullPointerExceptionMartin Ritchie2008-07-162-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1172 : Moved unregistration out of the sendLock. Potential refactor ↵Martin Ritchie2008-07-151-239/+175
| | | | | | possible between processQueue and flushSubscription git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@676887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1175 : VirtualHost now validates that name is non-null and non-empty. ↵Martin Ritchie2008-07-151-0/+5
| | | | | | Full protocol validation of the virtualhost name has not been performed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@676883 13f79535-47bb-0310-9956-ffa450edef68
* QPID-474 forgot ASL header, oopsAidan Skinner2008-07-072-0/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@674513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-474 Make sure that our SASL servers actually, y'know, validate the passwordAidan Skinner2008-07-076-7/+204
| | | | | | | | | | | AmqPlainSaslServer.java: Actually check password PlainSaslServer.java: Actually check password SaslServerTestCase.java: base test case for testing our SASL impls AMQPlainSaslServerTest.java: test the AMQPlainSaslServer dealie PlainSaslServerTest.java: test the PlainSaslServer TestPrincipalDatabase.java: Mockish TestPrincipalDatabase git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@674510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-871 - Added a ConnectionRegistry per Virtualhost to track the open ↵Martin Ritchie2008-07-0414-131/+896
| | | | | | | | | | | | | connections. Altered the ApplicationRegistry so that when the shutdown hook is fired it: Unbinds from the listening sockets Then closes each virtualhost which in turn closes all the active TCP connections before closing the MessageStore thus preventing any logged errors occuring as a result of the active TCP connection performing an action on the closed store. Test provided MessageStoreShutdownTest which uses the new InternalBrokerBaseCase and InternalTestProtocolSession classes to perform system testing of the Broker without TCP framing or client codebase. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@674085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-887: name housekeeping thread properly.Aidan Skinner2008-07-011-1/+2
| | | | | | | Apply patch from suran at wso2 dot com git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@673082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1101 : Updated Direct Exchange so it does not modify lists of queuesRobert Godfrey2008-06-202-11/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@669885 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1144 : Reference count drops to zero too early for immediate messages ↵Robert Godfrey2008-06-201-3/+11
| | | | | | in a txn git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@669841 13f79535-47bb-0310-9956-ffa450edef68
* QPID-950 : Fixed Derby Message StoreRobert Godfrey2008-06-191-72/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@669480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-950 : Broker refactoring, copied / merged from branchRobert Godfrey2008-06-19150-8448/+11539
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@669431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-168 Applying an amended version of Suran's patch for this JIRA, ↵Marnie McCormack2008-06-171-5/+146
| | | | | | expanding the .bat file's functionality to be closer to the bash scripts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@668692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1066 : Removed isInfo wrapping. Added test that is missing from trunk ↵Martin Ritchie2008-05-191-7/+1
| | | | | | from M2.x QueueDepthSelectorTest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@657859 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1060 : Release ref to transient meta data; cache message sizeRobert Godfrey2008-05-162-22/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@657097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1037: removed manual setting of the module.name property as it is set ↵Rafael H. Schloming2008-05-121-1/+1
| | | | | | automatically by the build scripts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@655536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1037: Added module name prop and an exclude.modules prop + switch ↵Arnaud Simon2008-05-081-1/+1
| | | | | | systests off in cpp profiles. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@654505 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 652388-652389,652399,652567-652568,653416 via svnmerge from Aidan Skinner2008-05-063-74/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x ........ r652388 | ritchiem | 2008-04-30 15:40:18 +0100 (Wed, 30 Apr 2008) | 2 lines QPID-889 : Removed _reapingStoreContext from CSDM replaced with local StoreContext()s so they are not reused by different threads. ........ r652389 | ritchiem | 2008-04-30 15:40:45 +0100 (Wed, 30 Apr 2008) | 1 line QPID-887 : Renamed QueueHouseKeeping threads so they can be identified in thread dump. Named Queue-housekeeping-<virtualhost name> ........ r652399 | ritchiem | 2008-04-30 16:32:42 +0100 (Wed, 30 Apr 2008) | 1 line QPID-888,QPID-886 : Fixed all management uses of _lock.lock / _lock.unlock so that they correctly call unlock from a finally block in the CSDM. There are two issues that cover that. QPID-888 - Fix the management ones and QPID-886 to fix the use in removeExpired. ........ r652567 | aidan | 2008-05-01 17:32:20 +0100 (Thu, 01 May 2008) | 1 line QPID-994 Dont wait for attain state as connection is closed by we get CloseOk ........ r652568 | aidan | 2008-05-01 17:35:09 +0100 (Thu, 01 May 2008) | 1 line QPID-1001 dont set the expiration time if TTL is 0 ........ r653416 | aidan | 2008-05-05 11:24:50 +0100 (Mon, 05 May 2008) | 1 line QPID-1019 prevent messages being dequeued unecessarily, from rgodfrey ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@653720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-887 : Renamed QueueHouseKeeping threads so they can be identified in ↵Martin Ritchie2008-05-051-33/+36
| | | | | | thread dump. Named Queue-housekeeping-<virtualhost name> git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@653415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-993: added an osgi manifest to broker-plugins jarRafael H. Schloming2008-05-011-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652672 13f79535-47bb-0310-9956-ffa450edef68
* This commit is for QPID-992 and QPID-993Rajith Muditha Attapattu2008-05-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build.xml ========== I added the broker-plugins as a module to the ant build system. This was nessacery to get the plugins jar generated for QPID-993. In general when we add extra exchanges as plugins we want release this as a separate jar common.xml ========== Added a property build.plugins. This is used to create the plugins dir that is used for PluginTest noted in QPID-993. module.xml ========== Creats the folder identified by build.plugins copys the plugins jar to the above folder before the tests are run Added the following system properties when running tests "example.plugin.target" to build.plugins - required for QPID-993 "QPID_EXAMPLE_HOME" and "QPID_HOME" is to project.root/broker to pick up the config files in etc - required for QPID-992. build.deps ========== added common libs and felix libs for the broker-plugins module. This is for QPID-993 acl.config.xml ============== Added TempQueue as a routing key allowed for publish to amq.direct for user "server" This was done for QPID-992 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 : Fix eol-styleRobert Godfrey2008-04-2419-2622/+2622
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832: fixed DerbyMessageStore to compile on Java 1.5 (hopefully)Rafael H. Schloming2008-04-241-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 merge M2.xAidan Skinner2008-04-245-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 sync build stuff from thegreatmergeAidan Skinner2008-04-241-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 copy the M2.x brokerAidan Skinner2008-04-23278-0/+44032
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651112 13f79535-47bb-0310-9956-ffa450edef68
* Delete stuff that's just going to get synced from M2.xAidan Skinner2008-04-23298-46039/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651111 13f79535-47bb-0310-9956-ffa450edef68
* make build.xml files backward-compatible with ant 1.6.5, by replacing ant ↵Nuno Santos2008-03-241-3/+3
| | | | | | 1.7 specific tasks/extensions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@640503 13f79535-47bb-0310-9956-ffa450edef68
* ant build systemRafael H. Schloming2008-02-011-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@617320 13f79535-47bb-0310-9956-ffa450edef68
* fixed svn:executable and svn:eol-styleRafael H. Schloming2008-01-316-81/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@617303 13f79535-47bb-0310-9956-ffa450edef68