summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/amqp.cmake
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7207: remove cpp and python subdirs from svn trunk, they have migrated ↵Robert Gemmell2016-07-051-156/+0
| | | | | | to their own git repositories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1751566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7306: Conditional compile mismatch in broker and common libs.Alan Conway2016-06-221-2/+1
| | | | | | | | | | | | | | | | | | | Removed _IN_QPID_BROKER compile definition: Inconsistently set for libqpidcommon (compiled .cpp files) and libqpidbroker (uses .h) files - The broker has a binary incompatible notion of what is in the library. It sort-of works by accident: - shared_ptr<T> only contains a T*, the mismatch is effectively doing reinterpret_cast<T*> - plain T* works for op->, but doesn't guarantee no concurrent deletes. - we create and destroy shared_ptr in libraries with _IN_QPID_BROKER set so we get cleanup, and no cores if we're lucky but there is limited protection from races. Was only used by management: - I think exposing non-shared ptr GetObject was a feature that never materialized, - if not we need a separate function or class for non-shared-ptr users. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1749781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6568: bump the minimum supported proton to 0.7Ken Giusti2015-06-151-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1685587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6529: Fix version number comparison for 0.9 -> 0.10 transition.Charles E. Rolke2015-05-041-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1677680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6484: check for non-existent error descriptionGordon Sim2015-04-101-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1672639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4710: [AMQP 1.0] Support for transactions in qpid::messaging C++ client.Alan Conway2015-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements the "transactional retire and settle immediately" option for transactions as specified in AMQP 1.0 in the qpid::messaging C++ client. NOTE: Transactions over AMQP 1.0 require proton 0.9 or greater. With older versions, attempting a transactions over AMQP 1.0 will raise a link-detached exception "Node not found: tx-transaction" 1. Added descriptor list to Variant with support in Encoder and PnData. Required to support transactions, need to be able to create described lists. Variant changes are source and binary compatible. A Variant now has a Variant::List of descripors which can be numeric or string. Nested descriptors are implemented by putting multiple descriptors in the list. Other minor changes: - Variant refactor: don't delete impl on every assignment. - Add Variant constructors that take a string encoding. (new constructors, not defaulted arguments, so the change is binary and source compatible.) - Growable buffer support for Encoder. - Printing described Variant prints descriptors in form @descriptor value 2. Added transaction support to AMQP 1.0 client code Added messaging/amqp/Transaction.h,cpp: transaction logic - communicate with coordinator, send declare/dischange messages. - add tx state info to transfers and acknowledgements. - Sync session after discharge. - A transactional session automatically acks any message retrieved by fetch/get to bring them into the transaction. This is consistent the 0-10 client. Minor fixes to existing client code: - Fix use of pn_drain API in C++ client to work with C++ and Java brokers. - Make amqp::Exception derive from qpid::Exception 3. Fixes to existing broker code: - Incoming.cpp fix: start async completion before processing message. - Delay accept of dischage message till commit is complete. - newSession - handle failover during session creation. 4. Added tests interop_tests.py: transaction tests that can run against an external broker, see comments. ha_tests.py: Enable transaction tests over AMQP 1.0. Minor test fixes: - brokertest.py don't set default logging if QPID_LOG env vars set. - brokertest.py Pass kwargs to broker() create function. - qpid-receive: capacity should never be larger than message count. - Accept user:pass as well as user/pass in Url. - brokertest.py: Always do a ready() check on all brokers. If proton < 0.9 is used, transaction tests will be skipped or will downgrade to the amqp0-10 protocol with a printed warning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662743 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6321: handle change to pn_delivery_tag_t in 0.9Gordon Sim2015-01-191-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1653005 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6255: Use Proton event model in qpidd when available.Ken Giusti2014-12-171-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1646354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6123: allow for change in engine API introduced in 0.8Gordon Sim2014-09-261-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: Rearrange CMake files to centralise some flagsAndrew Stitcher2014-06-171-1/+0
| | | | | | | | - This means they can be used in the bindings. - It also means that individual modules do not have to specify to catch undefined symbols as this is the default beahviour now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5807: Remove boost::program_options as a header file dependency of ↵Andrew Stitcher2014-06-111-1/+1
| | | | | | | | | qpid/Options.h - The intent here is to remove the necessity for things using qpid::Options to need to link boost::program_options directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5741: No longer warn when building Qpid with Proton 0.7Andrew Stitcher2014-05-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5560: HA tests do not use AMQP 1.0Alan Conway2014-04-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HA tests were using only AMQP 0-10. Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available) Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation. Summary of changes: - brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0 - default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise - qpidtoollibs/broker.py: enable use of swig client with BrokerAgent - Swig python client: - support for passing client_properties/properties. - expose AddressHelper pn_data read/write as PnData helper class - set sender/receiver capacity on creation - limited disposition support - rejected messages. - support for additional timeout parameters - expose messaging::Logger, allow log configuration to be set from python. - ha_tests.py: - bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF. - pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive) - TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.) - Broker fixes: - Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue. - broker::amqp::Session was always setting an exclusive owner in createQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5631: Adjust for changes in Proton detection files exported by proton.Andrew Stitcher2014-03-161-61/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5549: windows ssl over AMQP 1.0Clifford Allan Jansen2014-02-191-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569916 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5395: use newly added proton tracer callback to unify loggingGordon Sim2013-12-051-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1548177 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5349: qpid-proton.dll is not installed in \binCharles E. Rolke2013-11-181-2/+2
| | | | | | | ampq.cmake installed the file in \lib and not in \bin with the rest of the dlls. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1542880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5341: change maximum version of proton supported to 0.6 in anticipation ↵Gordon Sim2013-11-141-1/+1
| | | | | | of a release not too different from 0.6rc1 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1542010 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5251: allow policies to be specified that will create topics or queues ↵Gordon Sim2013-11-121-0/+2
| | | | | | on demand if they match the specified pattern git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5115: AMQP 1.0 client support built in to qpidmessaging for all platformsCharles E. Rolke2013-10-041-9/+4
| | | | | | | | | | | This commit disposes of the amqpc library and moves the functions into the qpidmessaging library. Now any client that loads qpidmessaging gets amqp0-10 and amqp1.0 selectable through the connection protocol option. C++ brokers still must load the amqp library to enable 1.0 support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5155: Install proton library when included in windows buildCharles E. Rolke2013-09-241-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5103: Support for finding an installed proton that works on windowsCharles E. Rolke2013-09-121-0/+23
| | | | | | | | | | | Use in conjunction with commit associated with PROTON-413. 1. In proton: cmake -DCMAKE_INSTALL_PREFIX=P:/install ... 2. devenv proton.sln /build "Debug|Win32" /project INSTALL 3. In qpid: cmake -DPROTON_ROOT=P:/install ... 4. devenv qpid-cpp.sln /build "Debug|Win32 /project INSTALL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5111: Make library dependencies clearer in build systemAndrew Stitcher2013-09-031-17/+11
| | | | | | | - Use -as-needed to link libraries to avoid unnecessary libraries - Tidyup mess with nss and qpid-proton libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4670: Move to proton 0.5, remove dummy string in address for dynamic nodesGordon Sim2013-08-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518180 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Enhance proton version compatibility check to restrict latest as ↵Gordon Sim2013-07-171-7/+12
| | | | | | well as earliest compatible version git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4988: Add test runs using swigged python clientGordon Sim2013-07-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4919: Allow definition of topics in AMQP 1.0, composed of an exchange ↵Gordon Sim2013-06-261-0/+4
| | | | | | and subscription queue configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4712: authorisation for AMQP 1.0 connectionsGordon Sim2013-06-251-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496466 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4669: have cmake build require proton 0.3 or greaterGordon Sim2013-03-281-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1462214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4586: add ability to have qpidd establish outgoing connectionsGordon Sim2013-03-141-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456621 13f79535-47bb-0310-9956-ffa450edef68
* QPID_4449 - Further fixes to the build files for both automake and cmake.Ted Ross2012-12-031-1/+1
| | | | | | | Fixed some build issues affecting Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 - Reverted much of the original change and re-implemented the fix ↵Ted Ross2012-11-301-0/+1
| | | | | | | | | | in a simpler way. The build-define _IN_QPID_BROKER is now used for modules built in the broker. The shared-pointer changes are conditionally compiled only for in-broker cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Cleaned up filtering, added ability to process ↵Gordon Sim2012-11-161-0/+8
| | | | | | dynamic-node-properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4386: Fixes a few Cmake errors WRT set_target_propertiesDarryl L. Pierce2012-10-221-4/+4
| | | | | | | | Variables used in arguments for set_target_properties need to be wrapped in double quotes. Otherwise when they are undefined Cmake thinks there are too few arguments present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400965 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Added cmake fragment missed in last commitGordon Sim2012-10-191-0/+118
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400199 13f79535-47bb-0310-9956-ffa450edef68