summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3903: Session#close() should not wait forever if broker fails to ↵Keith Wall2012-03-252-22/+20
| | | | | | respond to channel close (0-8..0-9-1 protocols) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1304971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3905: NullPointerException is thrown on rejecting messages whilst ↵Keith Wall2012-03-251-3/+3
| | | | | | closing the connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1304970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3904: Java client should set AMQConnection#_closed flag on receipt of ↵Keith Wall2012-03-212-0/+19
| | | | | | 0-10 connection.close git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303360 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add Mockito (Java mocking framework)Keith Wall2012-03-202-1/+2
| | | | | | | | | Add Mockoito as Java *test-only* dependency to allow for the convenient mocking and aid the writing of better unit tests. http://code.google.com/p/mockito/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3895: Remove blocked channel/session from the list of blocked channels ↵Keith Wall2012-03-197-19/+163
| | | | | | | | | | | | | on channel/session close This patch adds the fllowing: - fixes AMQChannel to stop sending flow commands if channel is closing - fixes AMQChannel#compareTo ServerSession#compareTo - removes AMQSessionModel#getID() method from AMQChannel and Server session in order to avoid confusions Applied patch from Oleksandr Rudyy <orudyy@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 : Re-enable JCA tests for 0-10 Java Broker, disable for pre-0-10 ↵Robert Godfrey2012-03-192-2/+4
| | | | | | (someone should verify whether some tests would actually work on pre-0-10) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3776 Applying a patch from Weston Price.Rajith Muditha Attapattu2012-03-144-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3776 Applying a patch by Weston Price.Rajith Muditha Attapattu2012-03-142-0/+534
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 Excluding JCA system tests all together from the Java broker.Rajith Muditha Attapattu2012-03-141-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 I had missed this file when I was applying Weston's patch.Rajith Muditha Attapattu2012-03-131-0/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300156 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Java Broker: Remove unused code from VirtualHostImplKeith Wall2012-03-133-168/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3868: Extra logging at DEBUG to better understand this failureKeith Wall2012-03-131-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3879: Session#close() on session can produce spurious "dispatcher is ↵Keith Wall2012-03-111-1/+1
| | | | | | not started" messages at ERROR to client logs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3894: MessageListener test improvmentsKeith Wall2012-03-1113-1106/+506
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299425 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3873: update test additions to fix defects around deliverymode ↵Robert Gemmell2012-03-111-41/+10
| | | | | | variation, reduce the unecessarily large number of messages sent, remove the effectively duplicate tests using topics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299396 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3873: Add tests to verify that publishing of unroutable messages does ↵Robert Gemmell2012-03-111-0/+66
| | | | | | | | | not cause long running store transactions Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3806 Committing a patch by Weston Price.Rajith Muditha Attapattu2012-03-084-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3732 Committing a patch by Weston Price.Rajith Muditha Attapattu2012-03-081-0/+283
| | | | | | | This file somehow slipped through the cracks when committing the first patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3751 Committing patch from Weston Price.Rajith Muditha Attapattu2012-03-086-15/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3732 Committing a patch by Weston Price.Rajith Muditha Attapattu2012-03-0814-102/+138
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3884 Applying a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-082-0/+24
| | | | | | | The message-acks are now sent when we "end" the transaction as opposed to sending them synchronously after each message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3885 Changed the log level for flow control messages to info (wasRajith Muditha Attapattu2012-03-081-4/+4
| | | | | | debug). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3885 Applying a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-088-43/+81
| | | | | | | | | For the most part it reduces noise by downgrading most log messages from info to debug. It also adds a if(logger.isDebugEnabled()) to save on any unnecessary (and potentially expensive) string concatenations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298555 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3886 Committing a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-085-11/+186
| | | | | | | The purpose of the patch is to improve the efficiency of processing known-complete (command id ranges). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: Adjust version numbers on trunk for development toward 0.18Justin Ross2012-03-0813-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298340 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-3882: remove the unused experimental info pluginRobert Gemmell2012-03-0527-2469/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297090 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Fix the Java Broker code so it both copes with machines where ↵Robert Godfrey2012-03-054-13/+27
| | | | | | 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
* NO-JIRA: delete the testkit module, it contains a single class which is ↵Robert Gemmell2012-03-036-445/+1
| | | | | | almost entirely commented out, and hasnt been modified since it was left behind 2 years ago when the module contents were moved into the tools module. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1296639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3867: ManagedQueueMBeanTest, fix test issue causing sporadic failure on ↵Keith Wall2012-03-011-7/+12
| | | | | | some CI instances git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2159: Remove create-example-ssl-stores script from Java Broker.Keith Wall2012-03-014-79/+2
| | | | | | 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-012-4/+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: update test comments to reflect change in broker behaviour after ↵Robert Gemmell2012-03-011-2/+4
| | | | | | the changes in this JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : renamed method, corrected brace style for ifs, added tests (per ↵Robert Godfrey2012-02-292-12/+94
| | | | | | Robbies review comments) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418: fix up issues and enable forgotten test for 0-10 persistent ↵Robert Gemmell2012-02-293-14/+10
| | | | | | broker profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295301 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-3867: Address review comment from Robbie GemmellKeith Wall2012-02-281-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294895 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : [Java Broker] Durable subscriber with no-local true receives ↵Robert Godfrey2012-02-2811-21/+190
| | | | | | messages on re-connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2478 : Removing exclusion from test profiles as the test now seems to passRobert Godfrey2012-02-281-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2621 : [Java Client] Calling QueueBrowser.getEnumeration on a stopped ↵Robert Godfrey2012-02-272-0/+21
| | | | | | connection will hang git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2020 : [Java Client] create[Durable]ConnectionConsumer should throw ↵Robert Godfrey2012-02-271-4/+5
| | | | | | JMSException, not return null (until such time as QPID-3693 is completed) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294370 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
* QPID-792 : [Java Client] Validate queue browser selector on client side, not ↵Robert Godfrey2012-02-277-41/+110
| | | | | | broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294194 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3774: AcknowlegdeTest should also sync after sending more ↵Keith Wall2012-02-271-7/+11
| | | | | | non-transactional messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294165 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
* NO-JIRA: Java Broker: Remove unsed method from ContentHeaderBody.javaKeith Wall2012-02-271-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-509 : [Java Client] Messages sent to topics should not default to mandatoryRobert Godfrey2012-02-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294144 13f79535-47bb-0310-9956-ffa450edef68