summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* This is a fix for the problem identified in QPID-943.Rajith Muditha Attapattu2008-09-254-19/+68
| | | | | | | | | If msg-auth is configured as true in config.xml the user_id in message properties is verified against the id used at authentication. If not an exception with error code 403 is thrown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: Change test and variable names as per review.Aidan Skinner2008-09-191-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: Change test and variable names as per review.Aidan Skinner2008-09-192-82/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: use transactions to make sure all messages are in there before ↵Aidan Skinner2008-09-191-2/+4
| | | | | | starting the consumer git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697100 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: make timeout a constantAidan Skinner2008-09-191-12/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: add missing classAidan Skinner2008-09-181-0/+192
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1287: Allow boolean <priority> element in virtual host file. Add test ↵Aidan Skinner2008-09-182-2/+115
| | | | | | for this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696691 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: make sure priority queues don't mess with deleted subscriptionsAidan Skinner2008-09-184-76/+406
| | | | | | | | | AMQPriorityQueue: don't advance deleted subscriptions AMQPriorityQueueTest: Add test class for priority queues SimpleAMQQueueTest: Add more tests PriorityTest: Check for more message orders git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696686 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1282: Add targets for cobertura coverage reporting.Aidan Skinner2008-09-124-4/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1190 Changed logging for protocol negotiation on client connect to be ↵Marnie McCormack2008-09-111-1/+1
| | | | | | less alarming, amended to info level log message with no stack trace git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694282 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1257 : Added ant help documentationMartin Ritchie2008-09-051-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692463 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1257 : Removed junit from the client dependancies as it is not required ↵Martin Ritchie2008-09-051-1/+1
| | | | | | for the client adds extra bloat to the new cilent package. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1257 : Add new build target 'release-bin' that will generate a broker ↵Martin Ritchie2008-09-056-11/+190
| | | | | | and client package. Documenation will be added to the wiki such that performance tests could also be packaged. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1269 : Added test to ensure queue creation via the Factory is ↵Martin Ritchie2008-09-031-0/+91
| | | | | | automatically added to the queue registry. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1266 : Actually added the test.Martin Ritchie2008-09-031-0/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691668 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1266 : Provided test for new stop() method. Updated RefCountExService ↵Martin Ritchie2008-09-036-7/+35
| | | | | | to allow retrieval of the referenceCount. Updated AMQQueue to only perform stop() actions once, such as releasing the RefCountExService. Updated instances where new virtualhosts were not added to the VHostRegistry. See supplemental JIRA for removing the need for this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1269 : Added queue registration as part of the creation via the ↵Martin Ritchie2008-09-033-2/+10
| | | | | | Factory. Updated direct creations to use the factory.. where possible. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1268 : Added test for new methodsMartin Ritchie2008-09-021-0/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1268 : Added single delete and recursive delete method to common FileUtils.Martin Ritchie2008-09-021-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1266 - Provide a stop() method on AMQQueue to stop all processing on ↵Martin Ritchie2008-09-023-2/+18
| | | | | | that queue thus shutting down the ThreadPool. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-579 : Make broker stop on startup errorsMartin Ritchie2008-09-021-4/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : Exclude the Delay test from testing as until QPID-1262 is resolvedMartin Ritchie2008-09-025-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : modified the delay method to ensure that it always sleeps for ↵Martin Ritchie2008-09-021-0/+15
| | | | | | the required time. Added logging to verify git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691260 13f79535-47bb-0310-9956-ffa450edef68
* Further updates to NOTICE and LICENSE, to include Mina notice and license ↵Martin Ritchie2008-08-292-82/+80
| | | | | | requirements git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690367 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1263: fixed codegen to not ignore passed in boolean valuesRafael H. Schloming2008-08-292-1/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690339 13f79535-47bb-0310-9956-ffa450edef68
* excluded more InVM tests from the cpp profilesRafael H. Schloming2008-08-293-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1208: fixed ConnectionURLTest to match the new behavior of ↵Rafael H. Schloming2008-08-291-1/+2
| | | | | | AMQConnectionURL.toString() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690337 13f79535-47bb-0310-9956-ffa450edef68
* Updated Notice based on feedback from dkulpMartin Ritchie2008-08-291-89/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690335 13f79535-47bb-0310-9956-ffa450edef68
* Updated License and Notice in Java, added missing L & N files to directories ↵Martin Ritchie2008-08-291-32/+0
| | | | | | and added release.sh to our bin directory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690300 13f79535-47bb-0310-9956-ffa450edef68
* Update LICENSE and NOTICE files based on our current java usageMartin Ritchie2008-08-292-78/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690272 13f79535-47bb-0310-9956-ffa450edef68
* Add top level DISLAIMER, LICENSE, NOTICE, KEYS with pointers to subproject ↵Aidan Skinner2008-08-281-0/+257
| | | | | | ones. Update Java LICENSE file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@690052 13f79535-47bb-0310-9956-ffa450edef68
* Add ASL to everywhere, to everything.Aidan Skinner2008-08-2812-150/+398
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@689937 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1208Rajith Muditha Attapattu2008-08-281-8/+1
| | | | | | | | I removed the code that prints the password when log level == debug. Instead now it will print "xxxx" for password irrespective of the log level. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@689854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : Excluded the InVM test from the external broker runs.Martin Ritchie2008-08-224-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@688117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : M2x commit : Addition of a System property to ↵Martin Ritchie2008-08-226-6/+548
| | | | | | | | | | | | | AMQProtocolHandler.java to allow the syncWait default to be changed. To perform this a new SlowMessageStore has been added to the systest package. This allows all MessageStore methods to have a pre and/or post delay applied. This delay can be configured dynamically if you have a handle to the Store or via the XML configuration. The SlowMessageStore can also be used to wrap any existing MessageStore (Testing only carried out with the default MemoryMessageStore) To make testing easier on M2x VMTestCase has been modified to allow the test to simply configure logging levels and systemProperties. These are then reverted after the test has completed. These changes will naturally need more work to before they are merged to trunk which uses totally different methods for ClientProperties and for running tests. systests/pom.xml didn't have amqj.logging.level as a systemProperty hence setting it did nothing for the tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@688110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1258 add ASL to java files that were missing itAidan Skinner2008-08-2249-1/+1030
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@688094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1258: Remove crufty duplicates of DISCLAIMER, LICENSE, NOTICE and ↵Aidan Skinner2008-08-2211-697/+53
| | | | | | README. Update RELEASE_NOTES.txt. Ensure legal files are included in the jar and archives. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@688088 13f79535-47bb-0310-9956-ffa450edef68
* Update version, NOTICE files.Aidan Skinner2008-08-211-1/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1167: reset queue notification lists when creating queues. Pull out ↵Aidan Skinner2008-08-217-25/+73
| | | | | | defaults centrally. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687764 13f79535-47bb-0310-9956-ffa450edef68
* Sorry went crazy with git and didn't meant to commit this changeMartin Ritchie2008-08-211-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687749 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1225 : Changed SimpleACLTest to use QpidTestCase so the failing test ↵Martin Ritchie2008-08-211-2/+31
| | | | | | can be excluded. This change DOES NOT mean the test will run agains the exteranl brokers. The test explicitly shutsdown the QTC broker during the setUp and only runs InVM currently. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687743 13f79535-47bb-0310-9956-ffa450edef68
* Stopped the broker closing the ProtocolSessions as this was causing the ↵Martin Ritchie2008-08-211-4/+5
| | | | | | client to lock in Mina seemingly missing the notify for the CloseFuture and hangs indefinately git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687741 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1225 : Remove SimpleACLTest from the test runs as the issues has been ↵Martin Ritchie2008-08-215-0/+13
| | | | | | identified. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687688 13f79535-47bb-0310-9956-ffa450edef68
* Remove old crufty helper that is not used.Martin Ritchie2008-08-211-102/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687667 13f79535-47bb-0310-9956-ffa450edef68
* Add Simple Request/Response Example from M2.xMartin Ritchie2008-08-212-0/+476
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1225 : Temporary commit to allow CI systems to help diagnose cause of ↵Martin Ritchie2008-08-212-1/+9
| | | | | | race condition. My guess is that the session is open but closes right after the isClosed call is done. So the client the goes on and does a waitForFrame that never arrives causing the timeout exceptions. As commented in AMQPH if we add our frame listener such that it will receive any existing and subsequent exceptions, such as connection closing whilst we add them to the framelisteners then I think this will resolve the issue. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1217: make temporary queue creation actually create the temporary queue.Aidan Skinner2008-08-205-34/+84
| | | | | | | | | | AMQSession*: consolidate createTemporaryQueue into AMQSession. ConnectionTest: declare custom exchanges before testing them TemporaryQueueTest: add test for QPID-1217 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1202: TopicExchance.removeFilteredQueue: if there are no instances of ↵Aidan Skinner2008-08-201-8/+11
| | | | | | the filter, it's ok to remove it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1252: remove the durable subscription when done with it, and increased ↵Rafael H. Schloming2008-08-201-1/+2
| | | | | | another timeout git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687313 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1251: changed close method for closing the underlying socket on windows ↵Arnaud Simon2008-08-201-1/+8
| | | | | | only. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687310 13f79535-47bb-0310-9956-ffa450edef68