summaryrefslogtreecommitdiff
path: root/qpid/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3582: stop client reporting "Unable to load custom SASL providers" ↵0.14Robert Gemmell2011-12-011-6/+0
| | | | | | | | | during initial connection merged from trunk r1205197 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1209041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3654: ANONYMOUS SASL mechanism does not work on Java clientAndrew Stitcher2011-11-301-2/+3
| | | | | | | | | Added a CallbackHandler for the ANONYMOUS mechanism (even though it should never be called) - This is necessary because the client uses the map of callback handlers to construct the list of available mechanisms. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1208879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3489: Added org.apache.qpid.server.message to exported packages for brokerAndrew Donald Kennedy2011-11-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1207741 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add licence headersRobert Gemmell2011-11-1715-0/+298
| | | | | | | merge from trunk r1203385 and r1203390 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203391 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2703: restore the import removed when merging r1203139 in r1203317, it ↵Robert Gemmell2011-11-171-0/+1
| | | | | | was unused on trunk but still required on the 0.14 branch git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203332 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Regenerate java-broker test cert as it has expired.Robert Gemmell2011-11-171-0/+0
| | | | | | | merged from trunk r1203235 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2703: 0-10 Transaction rollback/recover does not restore consumer creditRobert Gemmell2011-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. merged from trunk r1203139 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2703: 0-8..0-9-1 Transaction rollback/recover does not restore consumer ↵Robert Gemmell2011-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. merged from trunk r1203137 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3617: AMQQueueMBean.viewMessages: Viewing message without priority set ↵Robert Gemmell2011-11-171-1/+1
| | | | | | | | | ends with NullPointerException merged from trunk r1203135 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1203314 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 Merged from trunk r1200921 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1200997 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. Merged from trunk r1200803 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1200994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3592: actually add test fileRobert Gemmell2011-11-111-0/+63
| | | | | | | Merged from trunk r1200801 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1200992 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3592: ensure that the 'used credit' values are decremented when message ↵Robert Gemmell2011-11-1111-53/+42
| | | | | | | | | 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. Merged from trunk r1200801 (minus changes to python test excludes, which never existed on the 0.14 branch). git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1200985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3446: Unregister existing subscriptions when closing the connections ↵Robert Gemmell2011-11-114-17/+31
| | | | | | | | | | | | [during shutdown], update lock usage in order to avoid deadlock. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. Merged from trunk r1198834 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1200979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3583: Update release-branch version from 0.13 to 0.14Justin Ross2011-11-0311-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1197306 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
* QPID-3527: update handling of auto-ack messages for 0-10 to send acks ↵Robert Gemmell2011-10-066-80/+53
| | | | | | | | (asynchronously) on a per-message basis rather than batching for 1 second, update handling for other ack modes to be clearer with respect to 0-8/0-10 behavioural differences. Remove some redundant methods from AMQSession, updating handling of 'no consume'/'isBrowseOnly' such that BasicMessageConsumer is always supplied a single consistent answer for whether it is non-consuming or not. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3526, QPID-3524: make sure the 0-10 client message.acknowledge() ↵Robert Gemmell2011-10-0614-574/+205
| | | | | | | | actually acknowledges messages immediately, and does so synchronously, adding test to verify behaviour. Split acknowledge() and commit() methods into version specific session implementations for clarity/reuse, align 0-10 and 0-8/9 transacted publishing behaviour, refactor preDeliver and postDeliver methods, remove dead code from consumers. Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179695 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3526: move duplicated methods into the parent abstract message ↵Robert Gemmell2011-10-065-191/+72
| | | | | | | | delegate, remove dead code from BassicMessageConsumer Applied patch from Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1179694 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3512: Avoid race during 0-8..0-9-1 connection close.Keith Wall2011-09-305-34/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1177689 13f79535-47bb-0310-9956-ffa450edef68