summaryrefslogtreecommitdiff
path: root/qpid/java/broker/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3864: add/fix licences in the Java tree for 0.16Robert Gemmell2012-04-194-0/+80
| | | | | | | merged trunk r1327905 and r1327912, and also updated java/jca/.gitignore git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.16@1327923 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3927: ensure that priority is properly accounted for when comparing ↵Robert Gemmell2012-04-043-4/+165
| | | | | | | | | messages on different QueueEntryLists contained within the encompassing PriorityQueue merged from trunk r1309050 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.16@1309383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: Update version strings to 0.16Justin Ross2012-03-083-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.16@1298344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3888: ensure the SQEL iterator uses the getNextValidEntry() method to ↵Robert Gemmell2012-03-064-22/+69
| | | | | | advance, simplifying its implementation and aiding queue cleanup by releasing deleted entries from the data structure. In doing so ensure that it ignores a deleted node at the end of the list, returning that it is atTail and cannot advance. Add unit test highlighting the issue and confirming its resolution. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Fix the Java Broker code so it both copes with machines where ↵Robert Godfrey2012-03-052-12/+22
| | | | | | IPv6 is present, but disabled, and does not open a random port to get a wildcard address git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Remove IPv4 specific code from Java Broker, allow to bind to ↵Robert Godfrey2012-03-051-1/+1
| | | | | | IPv6 literals git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3881: Ensure we only put 0-8/0-9/0-9-1 messages in the store if they ↵Robert Gemmell2012-03-059-85/+74
| | | | | | are actually routable. Remove some unused and test-only methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Remove IPv4 specific code from Java Broker, allow to bind to ↵Robert Godfrey2012-03-051-31/+3
| | | | | | IPv6 literals git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297013 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2159: Remove create-example-ssl-stores script from Java Broker.Keith Wall2012-03-011-3/+1
| | | | | | Removed create-example-ssl-stores(.bat|.sh). Removed references to script from code, config and docbook. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3599: Python session tests fail against the Java Broker due to ↵Keith Wall2012-03-011-0/+3
| | | | | | | | | | | | | | | | | | | | unexpected redelivered status Changed Java Broker so once a message is acknowledged, if the session is transactional and the transaction is rolled-back, the queue entry is marked as redelivered. The rationale is that if the client has acknowledged, then it is certain they have seen it/them. The python tests testCommitAck and testRollback highlighted this defect as they acknowledge the session before rollback (something that is impossible to control from the JMS API). Python tests reenabled against the Java Broker: qpid.tests.messaging.endpoints.SessionTests.testCommitAck qpid.tests.messaging.endpoints.SessionTests.testRelease qpid.tests.messaging.endpoints.SessionTests.testRollback Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295474 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : renamed method, corrected brace style for ifs, added tests (per ↵Robert Godfrey2012-02-291-11/+30
| | | | | | Robbies review comments) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3871 - Fixed java build, added stub for missing attribute.Ted Ross2012-02-291-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : [Java Broker] Durable subscriber with no-local true receives ↵Robert Godfrey2012-02-287-16/+176
| | | | | | messages on re-connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-24 : [Java Broker] Fix potential leak of preparedstatement on exception ↵Robert Godfrey2012-02-271-3/+4
| | | | | | in derby store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294230 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unused authentication manager/queue memory-use methods from ↵Keith Wall2012-02-273-30/+3
| | | | | | virtual host implementation and configuration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3867: AMQQueueMBean#clearQueue|moveMessages|copyMessages should be ↵Keith Wall2012-02-265-104/+101
| | | | | | | | | certain to rollback transactions in the event of exception Added finally{} block so txn will be rolled back in the event of any non-normal completion. Refactored the AMQQueue abstraction so that the caller no longer has to provide a server transaction for move and copy operations. Bolstered the system tests around copy and move JMX management operations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-24 : Fix potential NPE in log message on recovery of xids where the ↵Robert Godfrey2012-02-241-4/+1
| | | | | | queue was transient git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293136 13f79535-47bb-0310-9956-ffa450edef68
* AMQP-24 : [Java Broker] Implement distributed transactions for AMQP 0-10Robert Godfrey2012-02-2328-52/+2245
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292984 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3325: move shutdown hook handling into Broker, set the thread nameRobert Gemmell2012-02-232-60/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3325: unregister the shutdown hook when closing an ApplicationRegistry ↵Robert Gemmell2012-02-223-42/+81
| | | | | | instance (by means other than the shutdownhook having run) and tidy up [use of] the close() method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292479 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3595 : Python Alternate Exchange tests fail against the Java BrokerRobert Godfrey2012-02-213-11/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3595 : Python Alternate Exchange tests fail against the Java BrokerRobert Godfrey2012-02-213-9/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291964 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3594 : Python exclusive queue declaration test fails against Java BrokerRobert Godfrey2012-02-211-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3597 : Python Headers Exchange tests fail against Java Broker (Fix ↵Robert Godfrey2012-02-213-26/+76
| | | | | | ExchangeBound when matching arguments) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291749 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3597 : Python Headers Exchange tests fail against Java Broker (Java ↵Robert Godfrey2012-02-211-2/+3
| | | | | | Broker only removes headers bindings if debug is enabled) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291701 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3597 : Python Headers Exchange tests fail against Java Broker (Java ↵Robert Godfrey2012-02-215-33/+23
| | | | | | Broker incorrectly tries to turn 0-10 arguments into 0-9 field table) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291694 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3596 : Python tests fails as Java Broker does not validate for reserved ↵Robert Godfrey2012-02-212-32/+63
| | | | | | exchange names on create/bind git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3861 : Run Python Message Grouping tests against the Java Broker; also ↵Robert Godfrey2012-02-211-1/+1
| | | | | | fix small bug this uncovers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3477 : Java Broker does not handle a rejection/acknowledgemnt with ↵Robert Godfrey2012-02-211-1/+4
| | | | | | invalid code correctly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3588 : Python message echo test fails against Java broker because only ↵Robert Godfrey2012-02-201-0/+4
| | | | | | expiration is passed to client, not TTL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291449 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3857: remove the protected Impl method now that we dont need the ↵Robert Gemmell2012-02-201-1/+1
| | | | | | Session reference, and just call super.sessionAttach instead. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3857: Fix racing conditions on registering session in connection and ↵Robert Gemmell2012-02-201-1/+0
| | | | | | | | sending session.attached command. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1505 : PlainSaslServer throws and immediately catches and wraps Sasl ↵Robert Godfrey2012-02-202-28/+37
| | | | | | Exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3855: only increment activeConsumerCount during registration if the ↵Robert Gemmell2012-02-193-3/+68
| | | | | | subscription is active. Add unit test to identify the issue and check behaviour following various state change notifications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291026 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: stop catching Throwable, we generally shouldnt continue when faced ↵Robert Gemmell2012-02-171-1/+1
| | | | | | with Errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3850: add switch into default uncaught exception handler to prevent the ↵Robert Gemmell2012-02-171-3/+7
| | | | | | | | broker from exiting if necessary Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245418 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3844: allow queryMBeans to succeed without ACL checking, tools like ↵Robert Gemmell2012-02-161-3/+4
| | | | | | | | JConsole / Qpid MC need this to function at all Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3843: ensure ACL rule evaluation for the ALL operation accounts for the ↵Robert Gemmell2012-02-161-2/+2
| | | | | | | | object type and properties. Fix length used for property wildcarding checks. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3848: relax the enforcement of exchange type checking during passive ↵Robert Gemmell2012-02-152-2/+2
| | | | | | | | | exchange-declares to allow empty/null values Applied patch by Gordon Sim git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3840: added automated tests for the Java Broker's qpid-passwd script ↵Keith Wall2012-02-152-29/+57
| | | | | | | | and Passwd class Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3842: Java Broker should report platform and memory size on startupKeith Wall2012-02-143-4/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3837: Update message to use the string name of the type. Told you i ↵Robert Gemmell2012-02-141-2/+2
| | | | | | should have tested it first :P git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3837: align the 0-10 exception message for an exchange redeclare ↵Robert Gemmell2012-02-131-2/+2
| | | | | | | | | attempt with the equivalent 0-9-1 message for clarity and consistency I should test this first, but it is just a string so...<rolls dice> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3829: use a seperate object for reference checking to stop the ↵Robert Gemmell2012-02-135-31/+18
| | | | | | | | | AMQMessage holding its underlying 0-8/0-9/0-9-1 connection/io objects in memory after they are closed. Also stops an NPE on the 0-8/0-9/0-9-1 subscriptions when evaluating no-local after store recovery. Enables NoLocalAfterRecoveryTest again, though updated to make it simpler and more reliable. This test should be removed if changes for QPID-3605 are undertaken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Additional queue statistics, posix memory statistics, and ↵Ted Ross2012-02-092-0/+308
| | | | | | broker-scope statistics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3823: ServerSession unblock(AMQQueue) can cause NPE when trying to ↵Keith Wall2012-02-094-67/+85
| | | | | | | | remove a queue from _blockingQueues Map that is not present Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3821: Uncaught exception thrown in QueueRunner.run() could cause ↵Keith Wall2012-02-092-21/+30
| | | | | | QueueRunner to remain stuck in RUNNING state permanently git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3809: Java Broker killed by java.net.SocketException: Broken pipe ↵Keith Wall2012-02-071-6/+18
| | | | | | | | (killed by uncaught exception handler) Applied patch from Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3816: add client version to connection open loggingRobert Gemmell2012-02-066-22/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3756: Reorder Java Broker's connection close process so that ↵Keith Wall2012-02-061-4/+9
| | | | | | | | | ConnectionCloseOk is sent only after first updating its internal state. This change means that the connection mbean will be deregistered from JMX before sending ConnectionCloseOk, thus removing the possibility of the race condition. The client side process is unaffected by this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241024 13f79535-47bb-0310-9956-ffa450edef68