summaryrefslogtreecommitdiff
path: root/qpid/java/broker
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3346: resync this development branch with latest trunkKenneth Anthony Giusti2011-10-286-29/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1190406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: merge **from** trunk **to** qpid-3346 dev branchKenneth Anthony Giusti2011-10-065-13/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1179802 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: fix the java buildKenneth Anthony Giusti2011-09-191-3/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1172776 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: merge in latest from trunk (r1172628)Kenneth Anthony Giusti2011-09-19116-2020/+4753
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1172657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-078-65/+51
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2815: refactor broker startup to present a clean interface interface ↵Robert Gemmell2011-07-079-593/+968
| | | | | | | | for starting the broker within an existing application Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3026: remove incomplete support for multiple ApplicationRegistry ↵Robert Gemmell2011-07-079-386/+364
| | | | | | | | instances to be active at one time Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143869 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove interface method @overridesRobert Gemmell2011-07-0714-54/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: transition TCP based Mina transport for 0-8/0-9/0-9-1 protocols ↵Robert Gemmell2011-07-0714-182/+189
| | | | | | | | over to new IO interface model Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3341: remove unused/dead transport code and accompanying implementation ↵Robert Gemmell2011-07-073-104/+11
| | | | | | | | classes Applied patch by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: revert commit from r1142454 due to test failures (note to self, ↵Robert Gemmell2011-07-031-116/+102
| | | | | | commit-then-run = bad) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1142486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2655: update to allow -run:jpda option to workRobert Gemmell2011-07-031-6/+6
| | | | | | | Applied patch from Danushka Menikkumbura git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1142460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2720: enable setting an alternative BundleContext to allow the broker ↵Robert Gemmell2011-07-031-102/+116
| | | | | | | | | to use an existing OSGi container instead of starting its own Felix instance Applied patch from Danushka Menikkumbura git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1142454 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3331: Update trunk versions to 0.13 for the next releaseJustin Ross2011-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3324: make the SSL port configurable from the comand lineRobert Gemmell2011-06-301-3/+21
| | | | | | | Applied patch from Danushka Menikkumbura git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3318: ensure the abstract HouseKeepingTask class removes the LogActor ↵Robert Gemmell2011-06-263-0/+342
| | | | | | it adds to the stack git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1139793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3273 The JMS delivery mode is now used evaluated as a string instead of ↵Rajith Muditha Attapattu2011-06-201-4/+5
| | | | | | | | | | an integer. Added a test case to cover the JIRA. There was an existing test case (testUsingOnMessage) that had delivery mode in it's selector, but for some reason it was commented out. I decided to add a new one as I was not sure why the delivery mode was taken out of the selector in that test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1137804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3296: update RMIPasswordAuthenticator to authenticate users via ↵Robert Gemmell2011-06-0916-287/+572
| | | | | | | | AuthenticationManager instead of a PrincipalDatabase Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3219: update handling of QueueEntries to exclude use of entries in the ↵Robert Gemmell2011-06-0710-17/+872
| | | | | | | | intermediate 'dequeued' state, simplify logic in general. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1132959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3288: stub out the new QMF property from r1132628 to allow the Java ↵Robert Gemmell2011-06-071-0/+6
| | | | | | build to complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1132958 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3261: decrease severity / improve clarity of log messages.Robert Gemmell2011-05-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3249: Remove incomplete support for authentication at virtualhost level.Robert Gemmell2011-05-127-72/+264
| | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1102258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2759: Remove defunct jmxremote.access file user management rights ↵Robert Gemmell2011-05-107-582/+144
| | | | | | | | | | | | | | manipulation abilities. 1) Removed remaining jmx access functionality. 2) Removed references to security/jmx/access from all existing configuration files. 3) Made ServerConfiguration#validateConfiguration reject config files that still contain the security/jmx/access element in order to promote good end-user understanding of configuration. For JMX: 1) setRights now throws UnsupportedOperationException with message. 2) createUser(string,string,bool,bool,bool) throws UnsupportedOperationException iff any of the bool args are true i.e. the user attempts to give a user access JMX rights 3) Deprecated createUser(string,string,bool,bool,bool) in favour of new two arg form createUser(string,string) 4) viewUsers changes to always return admin, read, and write items as false. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101483 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: remove duplicate logic to begin store transaction, which seems to ↵Robert Gemmell2011-04-222-13/+1
| | | | | | have been merged back into place after a previous removal git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1095942 13f79535-47bb-0310-9956-ffa450edef68
* 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