-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18387/
-----------------------------------------------------------

Review request for qpid and Gordon Sim.


Repository: qpid


Description
-------

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
- reworked ha_tests to work with amqp1.0 and 0-10
  - bind, delete policies not supported by AMQP 1.0, switched to using 
BrokerAgent QMF.
  - catch general Exception rather than specific messaging exception types.
  - pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, 
qpid-receive)
  - misc. minor work-arounds
- Swig python client improvements:
  - 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.

Unresolved problems, marked with FIXME comments:
- BrokerAgent QMF not working with SWIG client - never receive response 
messages.
- Exception types not corretly propagated over AMQP 1.0 to swig client
  e.g. raises LinkError instead of NotFound if queue not found
- auto-delete appears not to work with 1.0,
- no TX support for 1.0.
- Can't create an exclusive subscription over 1.0? This fails: 
"excl_sub;{create:always, link:{x-subscribe:{exclusive:True}}}");


Diffs
-----

  /trunk/qpid/cpp/bindings/qpid/python/qpid_messaging.i 1570699 
  /trunk/qpid/cpp/include/qpid/messaging/Logger.h 1570699 
  /trunk/qpid/cpp/include/qpid/qpid.i 1570699 
  /trunk/qpid/cpp/include/qpid/swig_python_typemaps.i 1570699 
  /trunk/qpid/cpp/src/amqp.cmake 1570699 
  /trunk/qpid/cpp/src/qpid/messaging/ConnectionOptions.h 1570699 
  /trunk/qpid/cpp/src/qpid/messaging/ConnectionOptions.cpp 1570699 
  /trunk/qpid/cpp/src/qpid/messaging/amqp/AddressHelper.cpp 1570699 
  /trunk/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp 1570699 
  /trunk/qpid/cpp/src/qpid/messaging/amqp/PnData.h PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/messaging/amqp/PnData.cpp PRE-CREATION 
  /trunk/qpid/cpp/src/tests/CMakeLists.txt 1570699 
  /trunk/qpid/cpp/src/tests/brokertest.py 1570699 
  /trunk/qpid/cpp/src/tests/ha_test.py 1570699 
  /trunk/qpid/cpp/src/tests/ha_tests.py 1570699 
  /trunk/qpid/cpp/src/tests/interlink_tests.py 1570699 
  /trunk/qpid/cpp/src/tests/qpidd_qmfv2_tests.py 1570699 
  /trunk/qpid/cpp/src/tests/test_env.sh.in 1570699 
  /trunk/qpid/tools/src/py/qpidtoollibs/broker.py 1570699 

Diff: https://reviews.apache.org/r/18387/diff/


Testing
-------

ctest -VV with/without QPID_PY_NO_SWIG=1 on fedora 20 and rhel 6


Thanks,

Alan Conway

Reply via email to