summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5927: allow for whitespace in passwordGordon Sim2014-11-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1637820 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6218: no need to retreieve external resourcesGordon Sim2014-11-072-1/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1637402 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6203: Prevent broker startup when invalid directory is passed to ↵Justin Ross2014-11-061-2/+39
| | | | | | --sasl-config; this is a patch from Ernie Allen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1637122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6212: WinSDK build script - add hooks for specifying shared Proton ↵Charles E. Rolke2014-11-051-15/+48
| | | | | | install dir git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1636981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6213: only restart timer once all queues have been purgedGordon Sim2014-11-051-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1636848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5671: [linearstore] Add ability to use disk partitions and select ↵Kim van der Riet2014-11-0416-179/+273
| | | | | | per-queue EFPs. This is the first part of resolving this issue and changes the journal directory structure to use symlinks instead of moving the actual files. This opens the way to having files from multiple partitions in the same journal. Other small improvements and tidy-ups also included. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1636598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5538: simple heartbeat enablement over 1.0 for brokerGordon Sim2014-10-292-4/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1635316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6187: Disable SSL v3 for Windows SChannelClifford Jansen2014-10-281-1/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4710: Initial support for broker side AMQP 1.0 local transactions ↵Gordon Sim2014-10-278-20/+236
| | | | | | (single txn per session, single session per txn to begin with) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4710: Add generic support for transactional dequeue to Queue class itselfGordon Sim2014-10-275-0/+145
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4710: Update message decoding logic to handle nested descriptors alsoGordon Sim2014-10-276-31/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4710: Handle nested descriptors i.e. described types where the value is ↵Gordon Sim2014-10-274-0/+32
| | | | | | itself a described type. Required for sending transaction control messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2374: Ensure --require-encryption works as expected for ssl even when ↵Gordon Sim2014-10-231-4/+1
| | | | | | sasl support libs are not available git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633904 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6182: AMQP 1.0 consumer should be able to get messages from browse-only ↵Pavel Moravec2014-10-231-0/+1
| | | | | | queue (2/2) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6182: AMQP 1.0 consumer should be able to get messages from browse-only ↵Pavel Moravec2014-10-231-1/+2
| | | | | | queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6178: [C++ Broker] Fix compile issue with VS2008 and Boost 1.55Charles E. Rolke2014-10-223-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6160: disable SSLv3 in CPP broker and clientKen Giusti2014-10-201-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6157: linearstore: segfault when 2 journals request new journal file ↵Pavel Moravec2014-10-171-9/+5
| | | | | | from empty EFP git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632504 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6148: purging TTL expired messages via purge task should not increase ↵Pavel Moravec2014-10-131-2/+0
| | | | | | acquires counters git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1631396 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6147: missing journal id in "trace Mgmt create journal." logPavel Moravec2014-10-132-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1631360 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6140: [C++ Messaging] hello_world does not define Messaging i/f completelyCharles E. Rolke2014-10-102-4/+4
| | | | | | | | | Add qpidtypes to hello_world and hello_xml example link library list so that users can execute any Messaging function straight away. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6128: Fix compiling SocketAddress on ARMDarryl L. Pierce2014-10-021-4/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628976 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6127: slight refactoring of previous solution for brevity; suggested by ↵Gordon Sim2014-09-301-8/+2
| | | | | | Andrew Stitcher. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6127: avoid using negative durations with sys::BlockingQueue.pop() as ↵Gordon Sim2014-09-301-2/+20
| | | | | | it will not throw when expected git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1628444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6118: Add qmf shutdown command to the brokerAlan Conway2014-09-262-1/+8
| | | | | | | | QMF shutdown command implemented on broker. - ACL to control shutdown: acl deny all access method name=shutdown - Added "qpid-config shutdown" command to shut down the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6123: allow for change in engine API introduced in 0.8Gordon Sim2014-09-264-12/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6008: Fixed up FreeBSD 10 build instructions to workAndrew Stitcher2014-09-231-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627104 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6107: Python Swig wrapped bindings consistently fail with spout and drainAlan Conway2014-09-221-0/+1
| | | | | | Problem was a missing Py_INCREF in cpp/include/qpid/swig_python_typemaps.i git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626887 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Remove dead code in ReplicatingSubscription.Alan Conway2014-09-221-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6112: Incoming QMF objects dont update transfers counterPavel Moravec2014-09-221-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626808 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5590: handle unknown exchange type for topic policyGordon Sim2014-09-193-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5361: No tests for linearstore functionality currently exist - basic ↵Kim van der Riet2014-09-169-1/+797
| | | | | | tests from the legacystore suite ported to linearstore git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1625283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4575: VS2012 - fix cmake to allow in-source build where dirs source == ↵Charles E. Rolke2014-09-141-2/+6
| | | | | | binary git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4575: C++ Messaging .NET Binding fixes for Visual Studio 2012Charles E. Rolke2014-09-1279-2306/+882
| | | | | | | | | | Rename msvc10 folders to msvcx as they hold files 2010, 2012, ... Change projects/solutions to .in templates and cmake configure them. Collapse common example csproj files into common template. Add cmake BUILD_BINDING_DOTNET option setting. Fix up various scripts to accomodate new studio version. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624604 13f79535-47bb-0310-9956-ffa450edef68
* Test commit using git-svnCharles E. Rolke2014-09-121-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624570 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6087: QMF Session name to contain user ID for AMQP 0-10Pavel Moravec2014-09-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624473 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix typo in qpid/cpp/BuildInstallSettings.cmakeAlan Conway2014-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6089: Need to register transports with the Url parser.Andrew Stitcher2014-09-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1623882 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix error message test in acl.py, on older python versions error ↵Alan Conway2014-09-091-10/+10
| | | | | | code is '7L' instead of '7' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1623856 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5033: Bad buffer accounting leading to spurious SSL errors on WindowsClifford Jansen2014-09-095-217/+338
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1623614 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix minor bug in run_paged_queue_tests handling a failure to start ↵Alan Conway2014-09-051-1/+1
| | | | | | broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622593 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Fix ha_tests.py failures with SWIG 0.10 client.Alan Conway2014-09-056-45/+57
| | | | | | | | - Fix un-necessary re-sends in amqp0_10::SenderImpl::replay. - Throw NotFound and UnauthorizedAccess correctly from amqp0_10::SessionImpl and ConnectionImpl - Fix ha_test wait_address and valid_address re-using a session after it is closed by NotFound. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622592 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix qpid/cpp/src/tests/ha_tests.py to work on python 2.4.Alan Conway2014-09-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622560 13f79535-47bb-0310-9956-ffa450edef68
* [AMQP 1.0] tcp-nodelay not supported yet on 1.0 connectionsAlan Conway2014-09-042-0/+3
| | | | | | Fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6069: Extra fix to FreeBSD compile fixesAndrew Stitcher2014-09-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622397 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Explictily convert double to uint64_t in qpid-txtest2 to avoid ↵Alan Conway2014-09-031-1/+1
| | | | | | warnings on some compilers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622372 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6069: FreeBSD compilation problemsAndrew Stitcher2014-09-032-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622369 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5855: Fix to JAVA Client Can not recieve message with qpid ha cluster.Alan Conway2014-08-295-10/+18
| | | | | | | | | | | | | | The original fix for this introduced a regression, running the qpid-txttest2 test against a cluster with the linear store failed. This fixes the fix. - Run transaction commit logic when the commit completes. Report completion to the user only when all prior commands have completed (sync point) - Fix missing initializer in client/amqp0_10/SessionImpl.cpp for transaction committing flag. - Remove annoying log messages from IdSetter.h - Skip transactional messages in prepare, don't wait till commit. - Added fetch-timeout option to qpid-txtest2 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621368 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: brokertest.py: don't use AMQP 1.0 if not available, ignore ↵Alan Conway2014-08-281-4/+5
| | | | | | connection close teardown errors. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5975: HA extra/missing messages when running qpid-txtest2 in a loop ↵Alan Conway2014-08-2811-47/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with failover. This is partly not-a-bug, there is a client error handling issue that has been corrected. qpid-txtest2 initializes a queue with messages at the start and drains the queues at the end. These operations are *not transactional*. Therefore duplicates are expected if there is a failover during initialization or draining. When duplicates were observed, there was indeed a failover at one of these times. Making these operations transactional is not enough to pass, now we see the test fail with "no messages to fetch". This is explained as follows: If there is a failover during a transaction, TransactionAborted is raised. The client assumes the transaction was rolled back and re-plays it. However, if the failover occurs at a critical point *after* the client has sent commit but *before* it has received a response, then the the client *does not know* whether the transaction was committed or rolled-back on the new primary. Re-playing in this case can duplicate the transaction. Each transaction moves messages from one queue to another so as long as transactions are atomic the total number of messages will not change. However, if transactions are duplicated, a transactional session may try to move more messages than exist on the queue, hence "no messages to fetch". For example if thread 1 moves N messages from q1 to q2, and thread 2 tries to move N+M messages back, then thread 2 will fail. This problem has been corrected as follows: C++ and python clients now raise the following exceptions: - TransactionAborted: The transaction has definitely been rolled back due to a connection failure before commit or a broker error (e.g. a store error) during commit. It can safely be replayed. - TransactionUnknown: The transaction outcome is unknown because the connection failed at the critical time. There's no simple automatic way to know what happened without examining the state of the broker queues. Unfortunately With this fix qpid-txtest2 is no longer useful test for TX failover because it regularly raises TransactionUnknown and there's not much we can do with that. A better test of TX atomicity with failover is to run a pair of qpid-send/qpid-receive with fail-over and verify that the number of enqueues/dequeues and message depth are a multiple of the transaction size. See the JIRA for such a test. (Note these test also sometimes raise TransactionUnknown but it doesn't matter since all we are checking is that messages go on and off the queues in multiple of the TX size.) ) Note: the original bug also reported seeing missing messages from qpid-txtest2. I don't have a good explanation for that but since the qpid-send/receive test shows that transactions are atomic I am going to let that go for now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621211 13f79535-47bb-0310-9956-ffa450edef68