summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* The last checkin for this class was using a Java 1.6 specific method called ↵Rajith Muditha Attapattu2008-07-071-1/+1
| | | | | | | | | | isEmpty in the String class. This fails the build in Java 1.5. I modified it to use str.length == 0 which has the same effect. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674389 13f79535-47bb-0310-9956-ffa450edef68
* Addition of tools directory for various Qpid Java toolsMartin Ritchie2008-07-042-0/+227
| | | | | | | | The first too JNDICheck allows the contents of a JNDI properties file to be parsed and presented as JNDI will process it. Handly for validating the parsing of a ConnectionURL git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-940 : Forgot to exclude the test from the test runMartin Ritchie2008-07-043-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-871 - Added a ConnectionRegistry per Virtualhost to track the open ↵Martin Ritchie2008-07-0416-164/+902
| | | | | | | | | | | | | 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/qpid@674085 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-940 - ConnectionTest#testPasswordFailureConnection fails occasionally ↵Martin Ritchie2008-07-042-49/+73
| | | | | | | | | | so while these race conditions are addressed I've converted the ConnectionTest to QpidTestCase and use it to skip the PasswordFailureConnection. junit.framework.AssertionFailedError: No cause set at org.apache.qpid.test.unit.client.connection.ConnectionTest.testPasswordFailureConnection(ConnectionTest.java:145) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1079: Remove all classes that were no longer referenced + updated ↵Arnaud Simon2008-07-045-231/+14
| | | | | | FlowControlTest for using QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1157: Added perftests projectArnaud Simon2008-07-041-0/+290
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674015 13f79535-47bb-0310-9956-ffa450edef68
* Removed SimpleACLTest from the build whilst we resolve the client exception ↵Martin Ritchie2008-07-041-1/+1
| | | | | | handling problems causing the failure git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-962 Exception handling was... unpleasing... Fix up of patch from rhsAidan Skinner2008-07-037-57/+85
| | | | | | | | | | | | | | | | AMQConnection.java: Refactor listener and stack exceptions in a list. Add get lastException, which can now be any Exception. Don't set connected, let the delegate decide. AMQConnectionDelegate_8_0.java, AMQConnectionDelete_0_10.java: set _connected to true if we suceed AMQProtocolHandler.java: attainState can now throw any sort of Exception AMQStateManager.java: attainState can now throw any Exception ConnectionTest.java: check that exception cause is not null AMQConnectionFailureException.java: Add ability to store a Collection of Exceptions in case there are multiple possible causes of the failure. Which there shouldn't be, but it can happen. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673688 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-962 Exception handling was... unpleasing... Fix up of patch ↵Aidan Skinner2008-07-025-62/+55
| | | | | | | | from rhs" This reverts commit 673343. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-960 remember to rename classAidan Skinner2008-07-021-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-960 copy delegate properlyAidan Skinner2008-07-021-0/+234
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-960 make protocol negotiation work from 0-10 down to 0-9 and then 8-0Aidan Skinner2008-07-023-235/+33
| | | | | | | | | | still needs love to do with railover, see QPID-959 AMQConnection.java: use 8_0 delegate for in-vm tests AMQConnectionDelegate_0_9.java: add subclass for class.forname'ing rename AMQConnectionDelegate_0_8.java to AMQConnectionDelegate_8_0.java to match protocol version properly git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-962 Exception handling was... unpleasing... Fix up of patch from rhsAidan Skinner2008-07-025-55/+62
| | | | | | | | | | | | | | AMQConnection: Refactor listener and remove list, we're only interested in the most recent one anyway. Add get/set for lastException, which can now be any Exception AMQConnectionDelegate_0_8.java: Stop masking/stackign exceptions, just throw them. AMQProtocolHandler.java: attainState can now throw any sort of Exception AMQStateManager.java: attainState can now throw any Exception ConnectionTest.java: check that exception cause is not null git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673343 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/qpid@673082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1163: Moved message ack in pre-deliver methodArnaud Simon2008-07-012-14/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673074 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1084 : Applying patch previously applied to M2.xRobert Godfrey2008-07-011-9/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673058 13f79535-47bb-0310-9956-ffa450edef68
* This commit is related to QPID-1161.Rajith Muditha Attapattu2008-06-3019-1/+1884
| | | | | | | | | | | | | Please refer to the JIRA for complete details. In Summary this contains a simple test kit comprising of perf and soak tests. The focus is on producing a packaged set of tests that can be easily deployed on target environment. For Quick perf report for a particular release, please run perf_report.sh which will show results for 8 common use cases in a tabular format. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1157: Added cc example automation scriptsArnaud Simon2008-06-3020-34/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1159: remove @Override tagsAidan Skinner2008-06-301-130/+109
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672763 13f79535-47bb-0310-9956-ffa450edef68
* Updated the performance tests to ensure we use all the available test, added ↵Martin Ritchie2008-06-275-3/+34
| | | | | | additional comments in pom.xml about each test section. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1152: Change visibility to public so that it isn't narrowedAidan Skinner2008-06-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1112: Changed addDeliveredMessage so to avoid division by 0 error when ↵Arnaud Simon2008-06-261-3/+4
| | | | | | max pre-fetch=1 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-909 : Commented out the TimerTask so that it can be wrapped with a ↵Martin Ritchie2008-06-261-64/+70
| | | | | | ScaledTestDecorator. Minimal change to get our existing tests to run. If closer duration control is required then further time can be spent on this testing Framework. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671849 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 QPID-999 : Merge Changes to the client to make the dispatcher ↵Aidan Skinner2008-06-263-3/+231
| | | | | | responsible for closing the queue browser when all the messages have been processed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1112: Changed addDeliveredMessage so to avoid division by 0 error when ↵Arnaud Simon2008-06-261-1/+1
| | | | | | messages are not pre-fetched git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1078: use file.separator so that globmapper generates the correct ↵Rafael H. Schloming2008-06-251-1/+1
| | | | | | manifest class path on cygwin git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671553 13f79535-47bb-0310-9956-ffa450edef68
* QPID-551 Don't take arbitrary stack lengths. I really hate that we sublist ↵Aidan Skinner2008-06-251-1/+2
| | | | | | at all, it's gross. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1112: send completed every maxPrefetch / 2 instead of after every ↵Arnaud Simon2008-06-201-1/+1
| | | | | | messages once maxPrefetch / 2 has been reached git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@669917 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/qpid@669885 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1144 : Reference count drops to zero too early for immediate messages ↵Robert Godfrey2008-06-202-4/+12
| | | | | | in a txn git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@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/qpid@669480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-950 : Broker refactoring, copied / merged from branchRobert Godfrey2008-06-19187-9421/+13228
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@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/qpid@668692 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1140 and QPId-1141.Rajith Muditha Attapattu2008-06-162-31/+10
| | | | | | | | | I also removed commented code as well as code that wasn't used. Cleaned up unused imports as well. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1139: use RFC1982 comparisons for rollback mark and update rollback ↵Rafael H. Schloming2008-06-164-12/+38
| | | | | | mark to track dispatched messages git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: add tests for RangeSet; fixed a bug found by the new testsRafael H. Schloming2008-06-164-21/+265
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668309 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: set the frame track correctlyRafael H. Schloming2008-06-161-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668308 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1078: fix the broken paths in qpid-incubating.jar and use the proper ↵Rafael H. Schloming2008-06-161-2/+2
| | | | | | delimiter for manifest class paths git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: request known-completed every 64K incoming commands, fixed ↵Rafael H. Schloming2008-06-132-5/+52
| | | | | | handling of incoming known-completed to clear out processed set git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667615 13f79535-47bb-0310-9956-ffa450edef68
* Changed the store path back to what it was.Rajith Muditha Attapattu2008-06-131-1/+1
| | | | | | | | | I think we need to provide a better solution for this as making an assumption for the store path in incovinient. We could use an env var like STORE_PATH that people can set and that will avoid hardcoding a particular path git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: don't send known-completed for ranges we ignoreRafael H. Schloming2008-06-132-5/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: flush after every 64K commands issuedRafael H. Schloming2008-06-131-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667501 13f79535-47bb-0310-9956-ffa450edef68
* Removed --store-async option as it is no longer releventRajith Muditha Attapattu2008-06-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1134: updated username:password --> guest:guestArnaud Simon2008-06-125-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667015 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-1130: don't store unack message tags when the session is transactedArnaud Simon2008-06-101-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1129: unless otherwise specified, limit the receive buffer size to 64KRafael H. Schloming2008-06-101-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@666259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: always reset the auto-sync mode even if the call failsRafael H. Schloming2008-06-092-9/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665841 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: made logging of ids less expensive, also limit how much data we ↵Rafael H. Schloming2008-06-093-4/+16
| | | | | | dump into the log git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-901: added logging of sync bit and command-idRafael H. Schloming2008-06-094-3/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665733 13f79535-47bb-0310-9956-ffa450edef68