You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2016/01/28 20:33:39 UTC
[jira] [Resolved] (PROTON-1062) proton::engine as a client example
[ https://issues.apache.org/jira/browse/PROTON-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Conway resolved PROTON-1062.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
0.12 release includes C++ connection_engine with examples equivalent to the container examples. The proton source code also includes tests that illustrate how to create an in-memory transport using the connection_engine
https://github.com/apache/qpid-proton/blob/master/proton-c/bindings/cpp/src/engine_test.cpp
> proton::engine as a client example
> ----------------------------------
>
> Key: PROTON-1062
> URL: https://issues.apache.org/jira/browse/PROTON-1062
> Project: Qpid Proton
> Issue Type: Improvement
> Components: cpp-binding
> Affects Versions: 0.12.0
> Reporter: Scott Matloff
> Assignee: Alan Conway
> Priority: Minor
> Fix For: 0.12.0
>
>
> The existing example which demonstrates the proton::engine functionality is a broker. To better demonstrate the disassociation between the connection and the container, I think there should be an example using memory streams.
> The example would look like:
> 1) Create some data
> 2) Encode the data using the engine
> 3) Place the result into a memory buffer
> 4) Decode the data from the buffer using a different engine instance
> 5) Display the data
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)