summaryrefslogtreecommitdiff
path: root/qpid/java/broker-core/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-6481: Move java source tree to top levelAlex Rudyy2015-04-15678-109733/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673693 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6494: [Java Broker] Remove redundant listener code from the BrokerAdapterKeith Wall2015-04-141-165/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5818 : [Java Broker] creating children from within the configuration ↵Robert Godfrey2015-04-122-8/+5
| | | | | | thread leads to deadlock as the configuration thread blocks waiting for a task which cannot be executed because it needs the config thread. Instead use asynchronous child creation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5818 : [Java Broker] creating children from within the configuration ↵Robert Godfrey2015-04-1216-254/+263
| | | | | | thread leads to deadlock as the configuration thread blocks waiting for a task which cannot be executed because it needs the config thread. Instead use asynchronous child creation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673014 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : Remove redundant access modifiers in interfacesRobert Godfrey2015-04-123-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1672999 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6476 : Expose vhost target size so a store can decide to flow messages ↵Robert Godfrey2015-04-123-0/+12
| | | | | | to disk in recovery if necessary git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1672998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6476 : Fix InternalMessage implementation so it can be storedRobert Godfrey2015-04-123-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1672997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6485: [Java Broker] Remove superfluous find/get methods from the Broker ↵Keith Wall2015-04-106-197/+17
| | | | | | configured object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1672602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5818: [Java Broker] Ensure that connection/session use a configuration ↵Keith Wall2015-04-072-77/+39
| | | | | | thread to mutate the model on receipt of close from wire git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6478: Set state to ACTIVE on creation of file based authentication ↵Alex Rudyy2015-04-061-0/+1
| | | | | | provider when empty or non existing user file is specified git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6442: [Java Broker] Compare the Broker#defaultVirtualHost against the ↵Keith Wall2015-04-064-10/+24
| | | | | | virtualhost name, not the virtualhost node name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6477: [Java Broker] Make 0-10 implementation ignore all received frames ↵Keith Wall2015-04-051-10/+0
| | | | | | except ConnectionCloseOk once ConnectionClose is sent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429: [Java Broker] Make NetworkConnectionScheduler utilise the ↵Keith Wall2015-04-041-3/+8
| | | | | | | | Broker's uncaught exception handler so that exeptions are logged and can optionally stop the Broker * Also bound the IO pool's upper size git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671335 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429: [Java Broker] Prevent NPE on shutdown if an AMQP port failed to ↵Keith Wall2015-04-041-1/+4
| | | | | | bind on startup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429: [Java Broker] Add more logging to investigate the failure to ↵Keith Wall2015-04-042-1/+16
| | | | | | close ports in general (sporadic test failure) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671265 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429: [Java Broker] Add more logging to investigate the failure to ↵Keith Wall2015-04-041-0/+6
| | | | | | close AMQPS Port on CI Instance (sporadic SSLTest failure) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429: [Java Broker] Discard only ByteBuffers that have been sent down ↵Keith Wall2015-04-031-1/+9
| | | | | | | | | | | | the wire. In #dowrite, the algorithm means to poll off only the ByteBuffers that have been completely sent down the wire, however it is missing a break. The effect of this is, if we have back pressure and send has been called with an empty ByteBuffer, it can poll away ByteBuffers from the front of the queue that are have content. The Python EchoTests demonstrate the bug because they a) use messages that are sufficient large to cause the client to exert back pressure and b) there are no messages in the properties so send is called with an empty ByteBuffer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671203 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6476 : [Java Broker] Refactor MessageStore to allow more efficient ↵Robert Godfrey2015-04-0369-887/+1839
| | | | | | implementations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6446: Verify that store path is a writable folder on creation of derby ↵Alex Rudyy2015-04-013-2/+66
| | | | | | virtual host and node git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1670629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6465: Fix ArrayIndexOutOfBoundsException thrown on attempt to hexify ↵Alex Rudyy2015-03-262-2/+52
| | | | | | password in MD5AuthenticationProvider git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1669340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429 : [Java Broker] Make maxidle/last read/write times volatile to ↵Keith Wall2015-03-181-2/+2
| | | | | | avoid the risk of spurious disconnection owing to unsafe publication between threads git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667475 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6457 : [Java Broker] Make asynchronous commits occur on executor threadsRobert Godfrey2015-03-171-3/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429 : Remove dead code, add name to (idle) pooled IO threadsRobert Godfrey2015-03-172-69/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667404 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429 : Fix issue when async close is called twice on a session, tidy up ↵Robert Godfrey2015-03-173-8/+1
| | | | | | debug and logging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667346 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429 : add debugRobert Godfrey2015-03-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667312 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429 : remove redundant wakeup/state change caused in sendRobert Godfrey2015-03-171-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6454 : Add page summarizing all api pathsRobert Godfrey2015-03-164-4/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6429, QPID-6262: [Java Broker] Improve error handling in new NIO code; ↵Keith Wall2015-03-168-335/+437
| | | | | | | | Remove MINA terminlogy (session etc) in 0-8 stack * Also added uncaught exception handler in test framework (QBTC) to guard log the case where a thread exits abnormally. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1667068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6452 : Defer creating filters in default filter map until a consumer is ↵Robert Godfrey2015-03-1517-184/+275
| | | | | | added. Optimize filters which start at the tail of the queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6428 : Remove explicit call to update store from within AbstractQueueRobert Godfrey2015-03-141-26/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666767 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6449: [Java Broker] Change REST interfaces to return 422 status code ↵Alex Rudyy2015-03-144-28/+14
| | | | | | from create/update requests when provided attribute values are invalid or required attributes are missing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6450 : [Java Broker] Allow separate model configuration threads for ↵Robert Godfrey2015-03-1338-23/+173
| | | | | | each virtual host node git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666609 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2836 : [Java Broker] Use slf4j facade for logging in the Java BrokerRobert Godfrey2015-03-1279-288/+361
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666234 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunkQPID-6262-JavaBrokerNIOKeith Wall2015-03-128-51/+88
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1666219 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6436: Address review comments and fix issues caused by ACL refactoringAlex Rudyy2015-03-128-32/+88
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666212 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6438: [Java Broker] Add support for POST method into REST interfaces in ↵Alex Rudyy2015-03-103-3/+12
| | | | | | | | | | | | order to create configured objects via POST git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1665732 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6436: Allow user to update its own preferences without explicit permissionsAlex Rudyy2015-03-101-0/+7
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1665731 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6439 : [Java Broker] config upgrader should upgrade key/trust stores ↵Robert Godfrey2015-03-101-0/+5
| | | | | | | | | | | | using the (omitted) default type git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1665702 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6436: [Java Broker] Move ACL functionality scattered over the ↵Alex Rudyy2015-03-1036-973/+1235
| | | | | | | | | | | | configured objects into SecurityManager and AbstractConfiguredObjects git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1665410 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6428: Remove now redundant changeAttributes overrideKeith Wall2015-03-062-6/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1664662 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6428 : [Java Broker] Use StoreConfigurationChangeListener to manage ↵Robert Godfrey2015-03-039-145/+145
| | | | | | | | | | | | storage of all configured objects git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1663573 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6425 : [Java Broker] Allow for local and global name equivalence on ↵Robert Godfrey2015-03-025-4/+126
| | | | | | | | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1663189 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6424 : Implement Connection.Redirect in 0-8/9/9-1Robert Godfrey2015-03-0112-22/+798
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1663170 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6419 : [Java Broker] Queue counts can become corrupt in case of rapid ↵Robert Godfrey2015-02-277-7/+28
| | | | | | | | | | | | acknowledgement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662683 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6418 : [Java Broker] Fix testRobert Godfrey2015-02-261-1/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662489 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6418 : [Java Broker] Use annotation to denote managed object which ↵Robert Godfrey2015-02-2610-12/+34
| | | | | | | | | | | | manage the storage of their childrens' data git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662473 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6412: Use ConcurrentMap interface rather than concrete class to ensure ↵Keith Wall2015-02-251-1/+2
| | | | | | | | | | | | linking issues when running JDK 1.8 compiled code under JDK 1.7 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662211 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6410: [Java Broker] Disambiguate connection adapter name by adding a ↵Alex Rudyy2015-02-241-1/+1
| | | | | | | | | | | | connection ID to the name git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661929 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6406: [Java Broker] Prevent the spurious firing of the attribute ↵Keith Wall2015-02-222-2/+87
| | | | | | | | | | | | listener for attribute where no value change is made git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661531 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6247: [Java Broker] Use try-with-resources to avoid some repeated ↵Keith Wall2015-02-224-37/+5
| | | | | | | | | | | | cleanup code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1661530 13f79535-47bb-0310-9956-ffa450edef68