[
https://issues.apache.org/jira/browse/QPID-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962275#comment-13962275
]
ASF subversion and git services commented on QPID-5560:
-------------------------------------------------------
Commit 1585588 from [email protected] in branch 'qpid/trunk'
[ https://svn.apache.org/r1585588 ]
QPID-5560: HA tests do not use AMQP 1.0
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
> HA tests do not use AMQP 1.0
> ----------------------------
>
> Key: QPID-5560
> URL: https://issues.apache.org/jira/browse/QPID-5560
> Project: Qpid
> Issue Type: Bug
> Components: C++ Clustering
> Affects Versions: 0.27
> Reporter: Alan Conway
> Assignee: Alan Conway
>
> The HA tests in ha_tests.py do not use AMQP 1.0, they only use AMQP 0-10.
> HA replication itself currently only uses AMQP 0-10, this is intended and
> will not be fixed in the short term. However clients using AMQP 1.0 should
> be able to interact with HA brokers via the automatic broker translation
> between 1.0 and 0-10. This is the aspect that needs to be tested in
> ha_tests.py
> We need to:
> - Modify the HA tests to use AMQP 1.0 by default if it is enabled by the
> build (make it configurable to use 0-10 or 1.0)
> - Make any necessary changes to python swigged client and C++ clients to use
> AMQP 1.0 for the HA tests.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]