[
https://issues.apache.org/jira/browse/QPID-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247198#comment-14247198
]
Chuck Rolke commented on QPID-6270:
-----------------------------------
{noformat}
Is there a list of supported protocols for quid-cpp 0.30 messaging API?
Where would I find it in the source code?
{noformat}
See files qpid/cpp/src/qpid/broker/Protocol.cpp, .h
Currently 0-10 is built it and not really obvious where it becomes the default.
AMQP1.0 is an add on and added through ProtocolRegistry::add(). The following
code snips add AMQP1.0 to the broker and client respectively.
{noformat}
> find . -name "*.cpp" | xargs grep ProtocolRegistry | grep add
./qpid/messaging/amqp/ConnectionHandle.cpp:
ProtocolRegistry::add("amqp1.0", &create);
./qpid/messaging/ProtocolRegistry.cpp:void ProtocolRegistry::add(const
std::string& name, Factory* factory)
./qpid/broker/amqp/ProtocolPlugin.cpp:
broker->getProtocolRegistry().add("amqp1.0", impl);//registry deletes on
shutdown
./qpid/broker/Protocol.cpp:void ProtocolRegistry::add(const std::string& key,
Protocol* protocol)
{noformat}
> QPID Messaging API
> -------------------
>
> Key: QPID-6270
> URL: https://issues.apache.org/jira/browse/QPID-6270
> Project: Qpid
> Issue Type: Bug
> Components: Dot Net Client
> Affects Versions: 0.30
> Environment: Broker = Apache MQ
> Windows
> Reporter: Fred Cheng
> Priority: Critical
> Labels: patch
>
> Perhaps its pilot error on my part but it is not pilot error, then this is a
> ciritcal bug. I am not able to connent to ActiveMQ version 5.10 (using AMQP
> 1.0 standard) with QPID messaging API. The error is
> "Caused by: org.apache.qpid.proton.engine.TransportException:
> org.apache.qpid.proton.engine.TransportException:
> AMQP header mismatch value 1, expecting 0. In state: HEADER4"
> After some research, it appears that ActiveMQ broker is using AMQP standard
> 1.0 while the Qpid Messaging API 0.30 client is using AMQP standard 0-xx.
> The QPID 0.30 JMS API client has two versions. One version for AMQP 1.0 and
> another for 0-xx. It also has an asterisk stating -> *1.0 support is offered
> in an implementation distinct from that of older protocol versions.
> The QPID broker is able to speak both 0-10 and 1.0 and thus accepts requests
> from Qpid Messaging API using AMQP 0-10.
> How do I get QPID 0.30 Messaging API to talk AMQP 1.0 with Apache ActiveMQ v.
> 5.8 or higher?
> Fred
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]