summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2612: remove qpidtypes lib as it causes problems on windowsGordon Sim2010-05-183-25/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945642 13f79535-47bb-0310-9956-ffa450edef68
* XML exchange is discussed under x-bindings now, extended reliability with ↵Jonathan Robie2010-05-181-285/+378
| | | | | | failover, reliability options. Still working on security ... git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2613: flush 0-8/0-9 message to store when delivery beginsRobert Gemmell2010-05-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945536 13f79535-47bb-0310-9956-ffa450edef68
* Added an exclude file for no-prefetch test profile.Rajith Muditha Attapattu2010-05-182-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945469 13f79535-47bb-0310-9956-ffa450edef68
* This test is failed due to the checkin made in rev 942293 as a fix for ↵Rajith Muditha Attapattu2010-05-181-2/+1
| | | | | | | | | | | | QPID-2559. Since (from rev 942293) credit is not sent if the dispatcher is null, for consumerB, credit is not sent until it invokes receive(). However it only tries to receive after consumerA has received 2 messages. Since AUTO-ACK is used, completions are sent immediately which results in A receiving credit, hence receiving the next 2 messages as well. I changed the test to create consumer A & B using the same session. This ensures that both consumers gets a chance to request credit before they consume any messages. This modification does not alter the intent of the original test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945444 13f79535-47bb-0310-9956-ffa450edef68
* Fix retry logic in ConnectionImpl::newSession.Alan Conway2010-05-171-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945387 13f79535-47bb-0310-9956-ffa450edef68
* Use new API clients qpid_send, qpid_receive instead of sender/receiver in ↵Alan Conway2010-05-172-6/+20
| | | | | | brokertests.py git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945385 13f79535-47bb-0310-9956-ffa450edef68
* Fix for "Assertion `!mcastSentButNotReceived' failed." in cluster tests.Alan Conway2010-05-171-15/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945383 13f79535-47bb-0310-9956-ffa450edef68
* FailoverUpdates.h is no longer in the qpid messaging dir (from r943975); ↵Stephen D. Huston2010-05-171-1/+0
| | | | | | remove it from the src list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945223 13f79535-47bb-0310-9956-ffa450edef68
* Added support for user/pass@ syntax in Url.Alan Conway2010-05-173-7/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945211 13f79535-47bb-0310-9956-ffa450edef68
* Make constructor public instead of packageRobert Gemmell2010-05-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2422: exclude DurableSubscriberTest until queue exclusivity is persistedRobert Gemmell2010-05-173-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2605: Fix to fragmentation logic for delivered messagesGordon Sim2010-05-171-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945048 13f79535-47bb-0310-9956-ffa450edef68
* disable setting on the java-derby test profile which restricts client ↵Robert Gemmell2010-05-171-1/+5
| | | | | | protocol version, allow the client to perform normal negotiation to broker suppported version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2588: Prevent queue being destroyed while still in use.Gordon Sim2010-05-155-13/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944683 13f79535-47bb-0310-9956-ffa450edef68
* Fix errors when new API Receiver is closed while in use.Alan Conway2010-05-143-32/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944461 13f79535-47bb-0310-9956-ffa450edef68
* Removing the tests excluded due to the failures associated with 942098Rajith Muditha Attapattu2010-05-141-14/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944458 13f79535-47bb-0310-9956-ffa450edef68
* I am reverting a change made by martin on rev 942098 (QPID-2586) as the 0-10 ↵Rajith Muditha Attapattu2010-05-141-1/+1
| | | | | | | | | | code path relies on that for failover. Currently due to the above commit all failover related tests are failing. However we will try to address the issue mentioned in QPID-2586. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: separate out the messaging API into its own libraryGordon Sim2010-05-147-36/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944357 13f79535-47bb-0310-9956-ffa450edef68
* Skip cluster part of ssl_test if cluster not enabled.Alan Conway2010-05-141-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944356 13f79535-47bb-0310-9956-ffa450edef68
* This reverts r736810. In my testing (admittedly limited) I did not observe ↵Gordon Sim2010-05-142-33/+10
| | | | | | any benefot from the optimisation. It causes a bug where concurrent calls to the non-const getBody() method can result in the encodedSize() method returning 0. This has implications e.g. for store modules where the message size may be incorrectly reported resulting in buffer overruns. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944329 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to non-existent test run_cluster_authentication_soakAlan Conway2010-05-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589Ted Ross2010-05-149-0/+431
| | | | | | | | 1) Added map-message examples 2) Added license text to example sources git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944270 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck Rolke that exposes structured message content ↵Ted Ross2010-05-142-1/+528
| | | | | | (map/list). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944263 13f79535-47bb-0310-9956-ffa450edef68
* Initial multi-thread unit test for messaging API.Alan Conway2010-05-148-10/+132
| | | | | | | - added Receiver::isClosed() to test for local close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944261 13f79535-47bb-0310-9956-ffa450edef68
* Move helper classes/functions from MessagingSessionTests.cpp to ↵Alan Conway2010-05-142-170/+216
| | | | | | MessagingFixture.h for sharing with other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944260 13f79535-47bb-0310-9956-ffa450edef68
* Add missing "public" qualifier to exception inheritance.Alan Conway2010-05-141-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944259 13f79535-47bb-0310-9956-ffa450edef68
* Cluster + SecurityMichael Goulish2010-05-1420-32/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------- * initial observation of a problem was a 2% failure rate in perftests of 20,000 messages against a cluster with security enabled. Problem was occasional receit of encrypted frames before the security codec had been enabled. This is fixed with locking in cluster code (no new locks in broker code) and a callback that is fired by broker::ConnectionHandler::Handler to tell the cluster code when the opening handshake has finished. This was never a problem in the non-clustered broker before because everything happened in a single thread. * the brokers that "shadow" the connection must not have null authenticators rather than real ones, so that they go through all the motions but don't do anythig. Only the directly-connected broker can perform the security handshake. * once the directly-connected broker receives the real user ID from its callback, it mcasts that ID to all other brokers. Otherwise the shadowing brokers will al think that the user ID is "anonymous". Check this by doing a substantial perftest, and using qpid-stat -c localhost:PORT to confirm that the brokers all have the same userID for the same connection. * the user ID, negotiated during the Sasl security startup, is communicated from the directly connected broker to all other cluster brokers. * If security is *not* being used, then this code should *not* tell the brokers anything about the userID -- or it will step on the value that is being set by other code pathways. * test program at cpp/src/tests/cluster_authentication_soak is not yet fully automated -- run it with something like "sudo ./cluster_authentication_soak 500" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944158 13f79535-47bb-0310-9956-ffa450edef68
* Removing the examples under this folder as they are not written against a ↵Rajith Muditha Attapattu2010-05-1414-1164/+0
| | | | | | | | | proper API. As of now we only support the JMS API. Therefore we shouldn't carry any other examples as it can create confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944086 13f79535-47bb-0310-9956-ffa450edef68
* There are a number of test failures under the various cpp test profiles.Rajith Muditha Attapattu2010-05-141-0/+15
| | | | | | | | I am temporarily excluding them to keep the tests green, to ensure we don't miss any new failures. Meanwhile I work on the test failures to figure out cause. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2588: Ensure we do not make calls on store for a given queue once it ↵Gordon Sim2010-05-134-2/+13
| | | | | | has been destroyed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944016 13f79535-47bb-0310-9956-ffa450edef68
* Moved FailoverUpdates to qpid::messaging namespace.Alan Conway2010-05-136-31/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943975 13f79535-47bb-0310-9956-ffa450edef68
* New API clients failover in a cluster with SSL connections.Alan Conway2010-05-134-38/+83
| | | | | | | | - Fix setting of reconnect URLs on messaging::Connection. - Added SSL failover test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943974 13f79535-47bb-0310-9956-ffa450edef68
* Fix deadlocks & thread safety in new API classes.Alan Conway2010-05-1310-64/+115
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943973 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in namespace close commentsStephen D. Huston2010-05-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943904 13f79535-47bb-0310-9956-ffa450edef68
* Transfer TCP code changes to RDMA codeAndrew Stitcher2010-05-131-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943772 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange RDMA wrapper class code so that the interface and implementationAndrew Stitcher2010-05-137-384/+463
| | | | | | are better separated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943771 13f79535-47bb-0310-9956-ffa450edef68
* Allow rdma_disconnect() to fail with EINVAL as it appearsAndrew Stitcher2010-05-132-2/+12
| | | | | | | | | to be necessary to call rdma_disconnect() after receiving a disconnection event in Infiniband, but it's not allowed on iWarp as the disconnect event has already disconnected the queue pair. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943770 13f79535-47bb-0310-9956-ffa450edef68
* Added callouts for C++ and Python examples. Attempted formatting for WCF ↵Jonathan Robie2010-05-121-300/+248
| | | | | | examples (not yet there ;-> ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943709 13f79535-47bb-0310-9956-ffa450edef68
* Added WCF section by applying Cliff Jansen's patch (see ↵Jonathan Robie2010-05-121-16/+469
| | | | | | | | | https://issues.apache.org/jira/browse/QPID-2595). Fixed maps tables by using Variant.h types for integer types in C++. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943660 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect optimization in Logger.Alan Conway2010-05-122-4/+3
| | | | | | Use of read-write lock causes a race in log. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943641 13f79535-47bb-0310-9956-ffa450edef68
* Added a few more test cases for acl file format.Rajith Muditha Attapattu2010-05-121-3/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943624 13f79535-47bb-0310-9956-ffa450edef68
* Two fixes for qmf.console:Ted Ross2010-05-121-27/+45
| | | | | | | | 1) use proper binding-keys for filtering QMFv2 data indications 2) fix the problem where stat-updates were being lumped in with property updates for V1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943589 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to new API impl to support failover.Alan Conway2010-05-123-16/+20
| | | | | | | | | - client/SslConnector.cpp: throw ConnectionException for errors during connection. - client/amqp0_10/ConnectionImpl.cpp: translate unknown exceptions to ConnectionError. - client/amqp0_10/FailoverUpdates.cpp: interrupt receiver by closing session in dtor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943489 13f79535-47bb-0310-9956-ffa450edef68
* Delay generating URL in cluster till global constructors to handle ↵Alan Conway2010-05-122-11/+14
| | | | | | multi-protocol URLs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943488 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains a fix for QPID-2600Rajith Muditha Attapattu2010-05-123-61/+72
| | | | | | | | | | Added a test case to check if all allowed chars are accepted and the rest is rejected. Added a check for empty continuation lines. Improved error reporting by adding a line number. Removed test_allowed_chars_for_username method from acl.py as the check for group name will flag the "@" char, making this test case redundent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-1111-499/+0
| | | | | | | Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943339 13f79535-47bb-0310-9956-ffa450edef68
* Commiting a patch by Emmanuel Bourg attached to QPID-2594Rajith Muditha Attapattu2010-05-1117-47/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943200 13f79535-47bb-0310-9956-ffa450edef68
* Added missing EXTERNs for WindowsTed Ross2010-05-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Fix failover updates to set correct option name; clear list valued ↵Gordon Sim2010-05-112-1/+3
| | | | | | option on setting it rather than merely appending to it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943160 13f79535-47bb-0310-9956-ffa450edef68