[
https://issues.apache.org/jira/browse/QPID-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857098#action_12857098
]
Cliff Jansen commented on QPID-2505:
------------------------------------
Note that there are two levels of translation.
The AmqpTypes subdirectory is meant to eventually provide traditional
encoding/serialization from AMQP typed objects to and from binary wire
representations. This is where the major work will go.
The translation in InputLink.cpp and OutputLink.cpp is between .NET
managed objects and C++ native space objects. This happens in the
context of passing headers, not the message body content. For the
simple types looked at so far, the approach has been to call the most
direct managed or native getter/setter/constructor of the type. For
arbitrarily complex headers, presumably a full encode/decode step will
be necessary. It will be a judgement call when to use either
mechanism. But header translation is unlikely to be a performance
bottleneck, so you should prefer simplicity over performance to start
with.
> WCF project needs to encode/decode all AMQP data types
> ------------------------------------------------------
>
> Key: QPID-2505
> URL: https://issues.apache.org/jira/browse/QPID-2505
> Project: Qpid
> Issue Type: Improvement
> Components: WCF/C++ Client
> Environment: Windows Server 2008
> Reporter: Chuck Rolke
> Fix For: 0.7
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> Currently the WCF Interop project encodes/decodes only string and int data
> types. The project needs to do all the AMQP data types.
> * In directory wcf/src/apache/qpid/interop source files InputLink.cpp and
> OutputLink.cpp have convenient TODO: markers exposing where the
> encoder/decoder code might go.
> * The dotnet project seems to have what might be needed in
> client/transport/codec/*.
> The effort would be to move the code from dotnet into wcf/interop.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]