summaryrefslogtreecommitdiff
path: root/qpid/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3183: some minor improvements to the recently seperated QueueRunner ↵Robert Gemmell2011-04-041-4/+9
| | | | | | class, based on review feedback from Keith Wall for QPID-3167 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3164: correct the occasionally failing tests ↵Robert Gemmell2011-04-041-77/+23
| | | | | | | | testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions and testSubscriptionSpecificRequeueForQueueWithMultipleSubscriptions. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3164 - Remove dead methods SimpleAMQQueue.requeue(QueueEntryImpl, ↵Robert Gemmell2011-04-044-39/+0
| | | | | | | | Subscription) and QueueEntryImpl.requeue(QueueEntryImp, Subscription subscription). SimpleAMQQueue.requeue(QueueEntryImpl, Subscription) was last used from SubscriptionImpl.java, but this was removed on 2009-10-25. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3158 - Defect in the CRAM-MD5-HEX mechanism - CRAMMD5HexInitialiser ↵Robert Gemmell2011-03-315-11/+244
| | | | | | | | fails to pad bytes in range 0A-0F with leading zero. Add testcase to test CRAM-MD5-HEX mechanism. Guard against nulls in SASL SaslServerFactory.getMechanismNames implementations to avoid dependency on mechanism registration order. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3167: add a unit test of SimpleAMQQueue#processQueue to check delivery ↵Robert Gemmell2011-03-3020-74/+251
| | | | | | when subscriptions with unique selectors are in use git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3162: move unregistration of ServerConnections from the ↵Robert Gemmell2011-03-271-3/+11
| | | | | | ConnectionRegistry into the setState() method to ensure it occurs in all cases. Also move registration into setState(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3165: ensure all subscriptions are checked before making the decision ↵Robert Gemmell2011-03-271-22/+69
| | | | | | on whether to stop delivering. Use a boolean instead of doing a 0/1 toggle and update variables to generally clarify logic. Use an int instead of a long for the iteration decrementing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2984: Add statistics generation for broker message deliveryAndrew Donald Kennedy2011-03-0821-56/+1131
| | | | | | Port of QPID-2932 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: Add producer configurable transaction timeoutsAndrew Donald Kennedy2011-03-0818-104/+391
| | | | | | Port of QPID-2864 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079042 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increment version numbers from 0.9 to 0.11Robert Gemmell2011-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078729 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3114: Record the owner session for exclusive queues in 0-10Andrew Donald Kennedy2011-03-041-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1077989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3081: add statistic for queue flow control transitionsKenneth Anthony Giusti2011-03-021-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3090: quote the MBean ObjectName key values for the names of Queues, ↵Robert Gemmell2011-03-016-37/+25
| | | | | | Connections, Exchanges, and VirtualHosts instead of just remapping characters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075744 13f79535-47bb-0310-9956-ffa450edef68
* Fix build broken by change to QMF management schema from QPID-2935Gordon Sim2011-02-211-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1073038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3015: Added create and delete methods to management schema for brokerGordon Sim2011-02-181-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1072179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3048: InternalBrokerBasecase not removing all log actorsAndrew Donald Kennedy2011-02-172-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2900: Changed SimpleAMQQueue to avoid race condition in the updating ↵Robert Gemmell2011-02-086-28/+396
| | | | | | | | atomic QueueContext._releasedEntry. Race was between thread SubFlushRunner (or QueueRunner) executing method SimpleAMQQueue.setLastSeenEntry and the thread executing the MessageRelase command executing method SimpleAMQQueue.updateSubRequeueEntry. Bolstered the unit tests surrounding the area of change to reduce risk of regression. Overrode TestableMemoryMessageStore#close() to avoid a NPE during tearDown silently cluttering some unit test logs (including SimpleAMQQueueTest). Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1068315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3029: actually set and negotiate the supported max num channels per ↵Robert Gemmell2011-02-046-4/+20
| | | | | | connection during connection handshake. Enable/make the 0-10 client use channel numbers 0 to N-1 in line with the spec, rather than 1-N. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1067210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3021: ensure the connection actor is used for connection control events ↵Robert Gemmell2011-02-041-6/+14
| | | | | | regardless of a particular sessions existence git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1067208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3017: improve error handling for the new transaction classes, add some ↵Robert Gemmell2011-01-2810-124/+1581
| | | | | | | | | logging, add unit tests Applied patches from Keith Wall git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1064629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3023: enable using the ServerConfiguration directly instead of ↵Robert Gemmell2011-01-271-1/+1
| | | | | | leveraging an internal broker (via IBBC) to load the vhost config required for the tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1064085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3021: set the session/connection actor when the connection recieves new ↵Robert Gemmell2011-01-275-10/+64
| | | | | | events, ensure the correct thread logs close git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1064084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3020: fix _logActor variable shadowing, use CurrentActor to log Sub ↵Robert Gemmell2011-01-252-6/+6
| | | | | | creation, dont put the created Sub actor onto the stack as the SubFlushRunner does this already when required git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1063328 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3014: create and use a connection actor directly, it doesnt need to be ↵Robert Gemmell2011-01-243-5/+10
| | | | | | put on the CurrentActor stack for the open messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1062722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3010: ensure the SimpleByteBufferAllocator is always used and ↵Robert Gemmell2011-01-213-40/+0
| | | | | | non-direct ByteBuffers are the default, remove the old and now unused configuration methods from ServerConfiguration and update the example config.xml accordingly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2991: added message counts to connection stats; fixed xxxToClient statsGordon Sim2011-01-111-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2966: add 'not implemented' stumps for the recently added ↵Robert Gemmell2010-12-111-0/+12
| | | | | | get/setLogLevel QMF methods to allow the Java tree build to complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1044674 13f79535-47bb-0310-9956-ffa450edef68
* Remove redundant/unused scriptRobert Gemmell2010-11-221-21/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1037879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2950: correct the shutdown exception check to verify the SQLCode is for ↵Robert Gemmell2010-11-171-2/+4
| | | | | | single-db shutdown rather than full Derby engine shutdown git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1035880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2942: disable management SSL by default, update config.xml to use ↵Robert Gemmell2010-11-141-3/+4
| | | | | | keystore path from example keystore creation script and move systest keystore config to the systest config override file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1035026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2929: *actually* fix inclusion of the broker-plugins in the release ↵Robert Gemmell2010-11-081-2/+2
| | | | | | *archives* git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1032429 13f79535-47bb-0310-9956-ffa450edef68
* Increment version numbers from 0.7 to 0.8(docs) and 0.9(code)Robert Gemmell2010-11-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1032374 13f79535-47bb-0310-9956-ffa450edef68
* reduce the amount of change required to update the icky hardcoded version ↵Robert Gemmell2010-11-071-27/+28
| | | | | | information git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1032357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2931: update MessageReference to stop nulling out the ServerMessage ↵Robert Gemmell2010-11-071-6/+7
| | | | | | reference upon release for now, preventing NPE's experienced due to race conditions resulting in use of getMessage() after release. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1032291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2929: ensure the broker-plugins are added to the broker release binary ↵Robert Gemmell2010-11-041-1/+7
| | | | | | when running 'ant release-bin' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1031334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2911: Remove the class printing from the log4j layoutAndrew Donald Kennedy2010-10-241-3/+3
| | | | | | Patch from Sorin S <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026919 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2887: Remove the System.out.println statements from ↵Andrew Donald Kennedy2010-10-241-3/+0
| | | | | | | | SlowConsumerDetectionConfiguration Patch from Sorin S <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2898: when UUID is null, return null instead of doing String.valueOf()Robert Gemmell2010-10-111-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1021441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2749: Revert changes due to performance issuesAndrew Donald Kennedy2010-10-042-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1004180 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2892: Catch Exception on signal handler failureAndrew Donald Kennedy2010-10-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2839 Add channel (CHN) Operational Loggin on 0-10Andrew Donald Kennedy2010-10-031-5/+21
| | | | | | Committed patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2835 Implement CON Operational Logging on 0-10Andrew Donald Kennedy2010-10-038-35/+52
| | | | | | Committed patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003984 13f79535-47bb-0310-9956-ffa450edef68
* Remove defunct old scriptRobert Gemmell2010-09-291-22/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1002579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2834: Implement subscriptions (SUB) operational logging on 0-10 Andrew Donald Kennedy2010-09-281-1/+6
| | | | | | | | | Add correct LogSubject and helper method to set upo LogActor Committed patch from SorinS <ssuciu@gmsail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1002063 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2834: Implement subscriptions (SUB) operational logging on 0-10Andrew Donald Kennedy2010-09-272-3/+15
| | | | | | | Committing patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2801: Implement LogSubject Interface in 0-10 ↵Andrew Donald Kennedy2010-09-273-18/+135
| | | | | | | | | Subscription/ServerConnection/ServerSession Objects Committed patch from Sorins <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2872: make the broker indicate a heartbeat max of 0sec to cause the ↵Robert Gemmell2010-09-261-0/+7
| | | | | | | | | client disable heartbeating, as it otherwise enables the connection idle timeout by default and the broker cant generate them. Needed until QPID-2796 is undertaken to implement broker support for generating heartbeats. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001544 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2877: remove erroneous space from labelRobert Gemmell2010-09-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001543 13f79535-47bb-0310-9956-ffa450edef68
* add some missing Apache licence headers to files in the Java treeRobert Gemmell2010-09-262-0/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2884: Pass the method arguments on Subscription_0_10 upon creationAndrew Donald Kennedy2010-09-263-6/+14
| | | | | | Patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001537 13f79535-47bb-0310-9956-ffa450edef68