summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2703: 0-10 Transaction rollback/recover does not restore consumer creditKeith Wall2011-11-173-30/+17
| | | | | | | Defect in Java client. 0-10 requires that commands are completed, but the Java client was failing to complete those commands corresponding to messages that were being rolled-back/recovered. Work by Robbie Gemmell and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2703: 0-8..0-9-1 Transaction rollback/recover does not restore consumer ↵Keith Wall2011-11-1710-390/+201
| | | | | | | | | credit. This change restores consumer credit after rollback/recover by restoring credit on reciept of basic.reject from the consumer. This change is basically as QPID-2506, but with additional changes to avoid the 0-10 path. Work by Robbie Gemmell and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3576: Exclude testDeleteOptionsKeith Wall2011-11-171-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3617: AMQQueueMBean.viewMessages: Viewing message without priority set ↵Keith Wall2011-11-171-1/+1
| | | | | | ends with NullPointerException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3611: use socket.close() on SSLSockets to prevent IoReceiver causing an ↵Robert Gemmell2011-11-111-1/+3
| | | | | | UnsupportedOperationException, e.g during ConnectionClose on the broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200921 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3610: set TCP_NODELAY to true by default, add new system property for ↵Robert Gemmell2011-11-114-11/+80
| | | | | | changing default, add unit tests for system properties + connection url options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200803 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3593: update python Priority Queue tests to use legal values for ↵Robert Gemmell2011-11-111-6/+0
| | | | | | | | message priority, since the prior illegal values were preventing them running against the Java broker. Applied patch by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200802 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3592: ensure that the 'used credit' values are decremented when message ↵Robert Gemmell2011-11-1113-56/+105
| | | | | | transfer commands 'completed' following a message.stop command attempt to restore their credit (to no effect due to the 0 credit limit) when using 0-10 Window credit mode. Add unit test, and break CreditManager dependency on ServerMessages by passing the required size value rather than the message itself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3490: creating queue via JMX now binds the queue to the default ↵Keith Wall2011-11-1112-31/+209
| | | | | | | | exchange; prevented unregistration of the default exchange. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3539: NoLocal should occur at the connection level and not the session ↵Keith Wall2011-11-106-16/+188
| | | | | | | | level (0-10). Also fixed typing issue that prevented Java Broker understanding the no-local queue argument when encoded as String (as sent by Python tests). Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200335 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3600: fix c&p errorRobert Gemmell2011-11-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199777 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3595: exclude additional testRobert Gemmell2011-11-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199776 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3600: new python test excludes with indicated JIRAs raised for defects ↵Robert Gemmell2011-11-091-20/+112
| | | | | | | | and test changes Also ensures that queue delete if empty test actually comsumes message to make pass against Java Broker. Applied patch by Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199707 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3519: refactor consumer argument handlingKeith Wall2011-11-099-66/+94
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3518: Introduce client side ability to detect server side support.Keith Wall2011-11-0918-46/+234
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3446: Unregister existing subscriptions when closing the connections ↵Robert Gemmell2011-11-074-17/+31
| | | | | | | | [during shutdown], update lock usage in order to avoid deadlock. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1198834 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3536: 0-10 overrides JMS AcceptMode with a defaulted (not explicitly ↵Keith Wall2011-11-074-36/+51
| | | | | | | | set) Link Reliability of UNRELIABLE Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1198701 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2848: refactored message consumer: pre-aquire, capacity decisions are ↵Keith Wall2011-11-0712-172/+372
| | | | | | | | moved into consumer, renamed field noConsume into browseOnly, cleaned up selector filter code. Applied patch from Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1198642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3583: Update trunk version from 0.13 to 0.15Justin Ross2011-11-0311-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1197304 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3570: update MessageTransferMessage and TransferMessageReference to use ↵Robert Gemmell2011-11-016-111/+98
| | | | | | the reference counting system, helping ensure that persisted 0-10 message [meta]data is removed from the store when dequeued from all queues instead of just being orphaned for cleanup during store recovery git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3568: Updated BDB to je-4.0.117 versionAndrew Donald Kennedy2011-11-013-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3558: Update Ivy config with new artifactsAndrew Donald Kennedy2011-11-011-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195843 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3558: Add broker Maven and OSGi artifacts to buildAndrew Donald Kennedy2011-10-316-5/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3562: actually commit the test tooRobert Gemmell2011-10-301-0/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195215 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: correct test issue causing failures on the Jenkins slaves during ↵Robert Gemmell2011-10-301-1/+2
| | | | | | persistent runs. Make the producer use transactions to ensure messages have actually all been enqueued before consumption begins, as the test assumptions may be invalid if the havent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3562: move sending completions if necessary into postDeliver() so that ↵Robert Gemmell2011-10-302-11/+28
| | | | | | prefetch=1 has the expected impact for asynchronous transacted consumers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195213 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3428: update to stop duplicate 0-10 session registrations into the ↵Robert Gemmell2011-10-306-10/+18
| | | | | | management layer, fixes a leak of the session and its associated connection at session removal time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195212 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add example configuration for using a persistence storeRobert Gemmell2011-10-301-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195211 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3561: stop allocating such a large buffer up front when encoding the ↵Robert Gemmell2011-10-301-1/+1
| | | | | | 0-10 metadata for persistence git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1195210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3504: remove the build.overrides file, subversion cant ignore changes ↵Robert Gemmell2011-10-242-26/+0
| | | | | | to it, and it doesnt seem to work fully with the systests module anyway git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1188101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3504: add the lib\opt wildcard to the classpath in the qpid.server.bat ↵Robert Gemmell2011-10-241-2/+2
| | | | | | | | file, to allow easy path for adding optional dependencies. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1188098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3532: make the 0-10 client hold the failover mutex during the failover. ↵Robert Gemmell2011-10-2110-41/+404
| | | | | | | | Alter the Address resolution code to allow resolving addresses after failover. Add some more failover tests (inc ADDR based ones). Make the failover process notify any waiters in the session to abort and let failover proceed. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1187279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3524: revert changes to Session#invoke method in r1179702 as the other ↵Robert Gemmell2011-10-201-18/+12
| | | | | | changes in the resume method rendered them unecessary git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1186863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3542: ensure session complete sent for filtered out messagesKeith Wall2011-10-183-16/+46
| | | | | | Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1185580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3517: Inconsistent SSL configuration keys in Java Broker in config.xmlKeith Wall2011-10-168-36/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1184882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3546: update the highestDeliveryTag marker during failover to prevent ↵Robert Gemmell2011-10-133-6/+40
| | | | | | | | | | the stale value being used to set the rollback mark on the first rollback after failover. This commit only fixes the 0-10 client path, as fixing this on the 0-8/9/9-1 path currently would cause undesirable interaction with the issue in QPID 3521. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182793 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increase the receive timeouts using the existing constant in order ↵Robert Gemmell2011-10-121-7/+7
| | | | | | to help prevent spurious test failures due to occasional severe slowdowns on the Jenkins slaves git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Kenneth Anthony Giusti2011-10-121-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3542: Java client does not ack non-matching messages when using client ↵Keith Wall2011-10-114-106/+76
| | | | | | | | side selectors (CPP Broker) Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1181861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3534: ignore transport exceptions raised whilst closing the network ↵Robert Gemmell2011-10-111-1/+10
| | | | | | | | connection after sending the close-ok reply, as these can prevent failover occurring and are actually related to the broker (incorrectly) having already closed the socket Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1181735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3534, QPID-3535: make 0-8/0-9/0-9-1 client path simply close the ↵Robert Gemmell2011-10-101-1/+1
| | | | | | | | | underlying NetworkConnection instead of sending an erroneous ConnectionClose body after replying to the ConnectionClose from the broker or receving an unsupported protocol verison during initial connection negotiation. Stops the client making 2 seperate attempts to initiate failover, and removes possibility of the exception that can currently cause both of them to be skipped. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1181204 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update various tests to try and avoid their sporadic failure on the ↵Robert Gemmell2011-10-074-17/+17
| | | | | | | | | | | | Jenkins persistent test runs due to the sometimes severe slowdowns on the Jenkins slaves InfoPluginTest: correct the test to record receipt of the payload before tripping the countdown latch, ensuring the subsequent list size check in the main test thread doesnt fail because of scheduling. AMQQueueDeferredOrderingTest: reduce the number of messages used during persistent runs, the test takes an excessive amount of time to complete and can fail if the storage is expecially slow. ResetMessageListenerTest: increase the time allowed to receive the messages, the 1sec allowance can be insufficient on persistent runs if the storage is especially slow. QueueDepthWithSelectorTest: ensure that a synchronous operation is performed before proceeding to later validate the queue depth on another session, ensuring that in persistent runs all the acks have first made it to the broker and been processed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1180245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-071-3/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1180050 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: allow test to take longer when run on a persistent broker, due to ↵Robert Gemmell2011-10-071-1/+2
| | | | | | sporadic failure caused by occasional slowdowns on the Jenkins slaves git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1180035 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3425, QPID-3034: unexclude tests excluded during work on ↵Robert Gemmell2011-10-071-11/+0
| | | | | | session.recover() in QPID-2471 because they had shown the changes made in QPID-2471 had actually severely broken recover() for 0-8/9/9-1 protocols git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179987 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3526: ensure that the session is marked clean after ↵Robert Gemmell2011-10-072-0/+26
| | | | | | message.acknowledge() is used, add test to verify behaviour git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179965 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2442: Make 0-10 TemporaryQueue#delete and TemporaryTopic#delete perform ↵Keith Wall2011-10-069-299/+333
| | | | | | the delete on the Broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3524, QPID-3525, QPID-3526, QPID-3527: add new failover behaviour tests ↵Robert Gemmell2011-10-061-0/+924
| | | | | | | | for variety of acknowledgement modes Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179703 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3524: enable support for failing over transacted sessions, ensuring ↵Robert Gemmell2011-10-062-40/+30
| | | | | | | | txSelect is sent after the command-point process is complete, but before the session is marked in the open state. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3525: stop the client from accidentally consuming the messages it is ↵Robert Gemmell2011-10-062-17/+28
| | | | | | | | actually trying to recover when using 0-8/9/9-1. Also stops it acking the message from the in-progress onMessage delivery after Session.recover() was called. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179699 13f79535-47bb-0310-9956-ffa450edef68