summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3401 Checking the proposed changes into a branch to preserve history & ↵address-refactorRajith Muditha Attapattu2011-10-1451-1893/+2577
| | | | | | continue working until such time it's accepted into trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor@1183532 13f79535-47bb-0310-9956-ffa450edef68
* Creating a branch for address refactoring work.Rajith Muditha Attapattu2011-10-140-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor@1183519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Charles E. Rolke2011-10-141-0/+1
| | | | | | | | Include boost/cstdint.hpp to get uintptr_t git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183469 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-142-11/+10
| | | | | | | | | | | On sparc platform: SchemaHash::update() fails when the hash byte array is cast as two quadwords in a union. This fix uses the union in the definition of the hash byte array to coerce the compiler to place them in quadword alignment when they are created. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183456 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3549 - Improved handling of boolean configuration options in Queue.cppTed Ross2011-10-141-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183455 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Removed tabs from sourceTed Ross2011-10-141-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-143-5/+26
| | | | | | | | | | | | | In RefCountedBuffer: 1. Pad the instantiantion address of RefCountedBuffer class up to an 8-byte boundary. 2. Add (void *) casts to 'store' pointer to prevent warnings about alignment. In qpid-perftest: 1. Don't pull a size_t object from an arbitrary buffer address. Instead, memcopy the object by bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3528Michael Goulish2011-10-133-5/+247
| | | | | | | | | | | | sasl_set_path() does no check on the given directory, so when you get bad behavior later it can be hard to track down. Especially bad is its policy of defaulting to an alternate standard location if yours fails. That's a potential security bug. So this patch checks that your dir exists, and is readable, before calling sasl_set_path(). Either you get the sasl config dir you were expecting, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: code cleanup - move private code out of headers, delete dead code.Kenneth Anthony Giusti2011-10-132-80/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3543: augment existing test to check for implicit accept error instead ↵Kenneth Anthony Giusti2011-10-131-56/+85
| | | | | | of introducing a new test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3545 - Ignore default exchange in qpid-config binding listTed Ross2011-10-131-0/+10
| | | | | | | Applied patch from Dominic Cleal git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Update new-cluster-plan.txt and new-cluster-design.txt.Alan Conway2011-10-132-570/+260
| | | | | | | Filled out outstanding tasks in plan. Added comments on live upgrades to design and plan. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182831 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/qpid@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/qpid@1182564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-124-9/+5
| | | | | | | | node. Changes missed from previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182514 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Kenneth Anthony Giusti2011-10-1215-11/+305
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-124-7/+16
| | | | | | | | node. Disabled ACL during cluster update process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182451 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove un-used and incorrect tests from cluster_tests.pyAlan Conway2011-10-121-86/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3522: Distinguish between null and empty string for sasl responseGordon Sim2011-10-1210-53/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3543: correctly dequeue messages that are auto-acknowledged.Kenneth Anthony Giusti2011-10-112-1/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182084 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/qpid@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/qpid@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/qpid@1181204 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: fix capacity settings in tests, add transactioned sender testKenneth Anthony Giusti2011-10-101-30/+126
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1181019 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/qpid@1180245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-0742-254/+3886
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@1179694 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2574 Mismatch uint32_t / size_tCharles E. Rolke2011-09-301-4/+4
| | | | | | | There is no logic error in this code. The explicit type conversions silence conversion warnings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177835 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/qpid@1177689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: ensure the test JVMs execute with the working dir set to the ↵Robert Gemmell2011-09-3029-61/+65
| | | | | | | | qpid/java dir, use relative paths to the broker startup script and config files, update the QBTC configuration override functionality to operate relative to QPID_HOME to avoid setting properties with spaces/parentheses into QPID_OPTS Enables the java test profiles to cope with spaces/parentheses in the parent directory structure of the checkout, as found in the matrix project workspaces on the ASF Jenkins instances git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3515: update qpid-server and qpid-run to enable them to work if ↵Robert Gemmell2011-09-302-7/+10
| | | | | | QPID_HOME and QPID_WORK contain spaces and parentheses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3504: make the broker start script check for additional jar files in ↵Robert Gemmell2011-09-301-2/+2
| | | | | | lib/opt/ to add to its classpath using the JDK 6 classpath expansion convenience, enabling an easier way of adding the optional BDB JE jar dependency than via the existing -run:<option> classpath manipulations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3362 - Creates the Qpid gem file for distribution on RubyGems.orgTed Ross2011-09-308-23/+438
| | | | | | | Committed patch from Darryl Pierce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304Michael Goulish2011-09-291-0/+6
| | | | | | | | | | | ( well, at least related to that jira ^^ ) Without these extra locks I got a broker SEGV during a federation test. 100% reproducible, 5 times. gsim suggested that this might be the issue. After placing these locks, no SEGV in many tries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3513: Avoid use of shell script clean-dir during test cycleKeith Wall2011-09-2918-94/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3511: Removal of unused system property "qpid.default_wait_on_send" ↵Keith Wall2011-09-2814-135/+68
| | | | | | | | from Java Client. Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176821 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3506 - Improved error handling in CLI parse.Ted Ross2011-09-271-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2574 Mismatch uint32_t / size_tCharles E. Rolke2011-09-271-0/+1
| | | | | | | Suppress size mismatch warning in windows builds. The /wd4267 switch can be turned off when -Wconversion is turned on in gcc builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3508: Ensure subscription queue is deleted on closing receiver (unless ↵Gordon Sim2011-09-272-1/+19
| | | | | | it has explicitly been configured non-exclusive) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3507: move the MessageListener check in front of the _receiving CASRobert Gemmell2011-09-271-4/+4
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3506 - qmf-tool - Improved command line optionsTed Ross2011-09-261-23/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176096 13f79535-47bb-0310-9956-ffa450edef68