summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-3784: move the system property key into ClientPropertiesRobert Gemmell2012-02-023-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239622 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3784: introduce system property to run a dispatcher thread as ↵Robert Gemmell2012-02-023-1/+84
| | | | | | | | damon/non-daemon thread. Changes dispatcher thread to be non daemon thread by default. Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3800: add the ability to disable particular protocol versions ↵Robert Gemmell2012-02-027-13/+220
| | | | | | broker-wide to save having to exclude them from individual ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : Fix AbstractPasswordFilePrincipalDatabase to remove possibility ↵Robert Godfrey2012-02-021-6/+13
| | | | | | of leaked open stream git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3734 Commiting patch by Weston Price.Rajith Muditha Attapattu2012-02-0127-354/+371
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3790: Add a method AMQSession.getQueueDepth(AMQDestionation, boolean) ↵Robert Gemmell2012-02-014-14/+59
| | | | | | | | to sync session (if specified) before sending QueueQuery command Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java Broker] Remove duplication between two password file ↵Robert Godfrey2012-02-0111-936/+606
| | | | | | database implementations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3780 : guard against the possibility that the HWM is older than the ↵Robert Godfrey2012-02-011-1/+1
| | | | | | queue head git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3780 : guard against the possibility that the HWM is older than the ↵Robert Godfrey2012-02-011-0/+8
| | | | | | queue head git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1239094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] Remove duplication of BytesDataOutput inner class, and ↵Robert Godfrey2012-01-317-574/+378
| | | | | | shared code in SessionAdapt[eo]rs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1238868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3791 - Cucumber-based integration tests for the Ruby binding.Ted Ross2012-01-3118-17/+429
| | | | | | | Committed patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1238807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3604 Moved the draining of consumer queues further down to be doneRajith Muditha Attapattu2012-01-311-8/+6
| | | | | | | after we drain the dispatch queue. Since the message flow is now stopped we can drain the queues without grabbing the message-delivery-lock. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1238688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3175: applied patch with a default sasl_mechanisms of ANONYMOUSRafael H. Schloming2012-01-303-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1238012 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] Remove duplication of output converters and optimise ↵Robert Godfrey2012-01-308-913/+59
| | | | | | startup time git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237772 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] Remove dead code and empty directoriesRobert Godfrey2012-01-3012-598/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] Remove dead code and empty directoriesRobert Godfrey2012-01-308-1384/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3739: Java properties qpid.ssl.keyStoreCertType and ↵Keith Wall2012-01-2918-85/+365
| | | | | | | | | | | | | | | qpid.ssl.trustStoreCertType have misleading names and would be better called qpid.ssl.[Key|Trust]ManagerFactory.algorithm * Introduced two properties qpid.ssl.KeyManagerFactory.algorithm and qpid.ssl.TrustManagerFactory.algorithm to allow a client user to override the algorithm name used when Qpid client constructs a KeyManager or TrustManager. * Continued to support qpid.ssl.keyStoreCertType and qpid.ssl.trustStoreCertType (now marked as deprecated) * Introduced a new Java Broker configuration key connector/ssl/keyManagerFactoryAlgorithm * Continued to support broker configuration key connector/ssl/certType (now marked as deprecated and will issue warning if used). * Changed the default from hardcoded 'SunX509' to the value(s) returned by KeyManagerFactory#getDefaultAlgorithm() and TrustManagerFactory#getDefaultAlgorithm(). This allows the Java Broker and Client to be used out of the box on non-Sun JDKs without having to set qpid.ssl.KeyManagerFactory.algorithm or qpid.ssl.TrustManagerFactory.algorithm. * Updated client docbook documentation. Tested both Java Broker and Client on IBM JDK and ensured all 0-10 and 0-9-1 profiles pass (including SSLTest which was failing prior to this change). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237504 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] fix regression caused by destination cache miss (by ↵Robert Godfrey2012-01-292-1/+7
| | | | | | further screwing with equality on AMQDestination) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237331 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] code tidyupsRobert Godfrey2012-01-29199-4624/+1098
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3788: Remove remaining MINA configuration keys (and those from other ↵Keith Wall2012-01-286-44/+6
| | | | | | | | | | retired impls) from the Java Broker's config.xml * Remove remaining references to MINA transport configuration keys: enableDirectBuffers/enablePooledAllocator/filterchain from code and example config files. * Remove references to compressBufferOnQueue from config XMLs. The implementation that used it was removed back in 2007 by QPID-275. * Remove references to broker-side configuration key enableJMSXUserID. This broker feature was removed by QPID-943 (which replaced the functionality with an equivilent client-side option). The old Broker side key plays no part in the client-side function. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3775: Fix path handling in bdb scripts.Keith Wall2012-01-282-8/+14
| | | | | | | Fix bdb scripts backup.sh and storeUpgrade.sh so they successfully handle QPID_HOME and store paths containing spaces. This problem was shown up on Jenkins, as the profile directories of the Jenkins Matrix contain spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237029 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3775: Automate the manual persistent store tests.Keith Wall2012-01-2815-411/+590
| | | | | | | | | Add new testcase BDBBackupTest to test the operation of the BDB store backup mechanism (backup.sh). Changed test case PersistentStoreTest to implement the manually scripted BDB tests. This required changes to QBTC and BrokerHolder to allow an external Brokers to be forcibly kill'd with -9. Remove script and class for manual tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236931 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Encapsulate fields, use private members and accesors (keep ↵Robert Godfrey2012-01-27227-1269/+2074
| | | | | | checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3787 - Fixed shutdown crash in SslPlugin, Fixed problem with sasl_mux test.Ted Ross2012-01-272-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236864 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3778Michael Goulish2012-01-271-2/+8
| | | | | | | | | | | | fix for previous fix. This one doesn't break qpid.tests.connection.ConnectionTest.testCloseGet and qpid.tests.connection.ConnectionTest.testCloseListen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236729 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Ensure all control flow statements use braces (keeping CheckStyle ↵Robert Godfrey2012-01-2734-81/+360
| | | | | | happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236647 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : [Java] Tidy up import statements across the codebase, remove ↵Robert Godfrey2012-01-27927-4533/+4515
| | | | | | unused/redundant imports (keep Checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3559: AMQQueueMBean: Switched timestamp formatting to static ↵Keith Wall2012-01-261-18/+11
| | | | | | | | FastDateFormat instance to avoid the need for synchronisation or the generation of lots of SDF and Date instance garbage. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3786 Setting queueName, exchange and routingKey from informationRajith Muditha Attapattu2012-01-261-1/+15
| | | | | | given in the incomming message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-946, QPID-2379 : code review - move statements inside try blockRobert Godfrey2012-01-261-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236332 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3265 This is not a fix for this issue, but rather a minor step towards it.Rajith Muditha Attapattu2012-01-261-4/+4
| | | | | | | | It's incorrect to add the binding for the temp queue to the bindings object as if the destination is used with another consumer it will interfere. Therefore the qeueu bind is sent explictly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3783 The AddressParser will now set the subject to Null if it equals to ↵Rajith Muditha Attapattu2012-01-261-0/+4
| | | | | | | | | | None. The only drawback is that if somebody wants to use a subject called "None" which is hard to imagine :) However even if they want to use such a subject it will not be easy to distinguish due to the fact we print null subjects as None. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236196 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3779: replace the old ImmediateMessageTest and MandatoryMessageTest ↵Robert Gemmell2012-01-268-930/+213
| | | | | | | | with understandable versions and remove duplicate/obsolete tests FailoverTest and RollbackTest. Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Avoid endless reconnect loop in python client.Alan Conway2012-01-251-1/+0
| | | | | | | | | In the case where a connection succeeds up to connect-ok but immediately aborts the python client would loop forever re-trying the same address. The fix is not to reset the index on connect-ok so the client try each address in turn for the full list of addresses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235918 13f79535-47bb-0310-9956-ffa450edef68
* Backing out change from rev 1235255.Michael Goulish2012-01-251-6/+3
| | | | | | | | | This change broke these two tests: qpid.tests.connection.ConnectionTest.testCloseGet qpid.tests.connection.ConnectionTest.testCloseListen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235906 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3604 Added a note on the exclude fileRajith Muditha Attapattu2012-01-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235872 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3604 Excluded testConnectionStop method from 0-91 profile as theRajith Muditha Attapattu2012-01-251-0/+1
| | | | | | fix was only made to the 0-10 code path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3780 : [Java Broker] reduce scavenge overhead on large queuesRobert Godfrey2012-01-251-18/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3604 Added a test case to cover this issue.Rajith Muditha Attapattu2012-01-241-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3604 Added sync() after sending message stop for each subscriber.Rajith Muditha Attapattu2012-01-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235553 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3604 Once message stop is issued for each subscriber, the clientRajith Muditha Attapattu2012-01-242-1/+93
| | | | | | | | | | now drains the internal queues of each subscriber. It also drains the dispatch queue. These messages are then released without marking them as redelivered. Messages that were given to the application but were not acked are also released, but are marked as redelivered. All messages received upto that point are marked as completed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235550 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3778Michael Goulish2012-01-241-3/+6
| | | | | | | | | | see comment in code. this was causing a "connection aborted" failure when qpid-stat was connected through MD5, and there were several qpid-tools also connected, not in any special way, and not doing anything. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1235255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774 : Work around Java BDB issue with cursors and flushLogRobert Godfrey2012-01-211-63/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1234410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774 : allow out of order completion of persistent enqueues / dequeues ↵Robert Godfrey2012-01-2121-40/+148
| | | | | | (0-9 codepath) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1234215 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774 : allow out of order completion of persistent enqueues / dequeuesRobert Godfrey2012-01-2010-101/+627
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1234111 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3352: Fix test for failed session to avoid confusion with as ↵Alan Conway2012-01-205-12/+7
| | | | | | | | | yet uninitialised session" This reverts commit r1233083. It caused a test failure run_federation_tests: federation.FederationTests.test_pull_from_queue_recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3768: Refactor test case to avoid possibility of spurious test failureKeith Wall2012-01-181-29/+39
| | | | | | Changed impl of testGetNextWithAck() to avoid unsafe assumption that pre-fetching will mean sorting will never occur. Remove unnecessary message payloads used by some test (time in ms) as this was not contributing to test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replace public broker::Consumer::position variable with get/set ↵Alan Conway2012-01-181-3/+3
| | | | | | | | function pair. Fix to r1233080 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added public broker::Connection::isLink function.Alan Conway2012-01-182-17/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge SemanticState unsubscribe with cancel.Alan Conway2012-01-184-9/+8
| | | | | | Simplyfig the code, there is no need for these to be separate functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1233087 13f79535-47bb-0310-9956-ffa450edef68