[
https://issues.apache.org/jira/browse/QPID-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Ross resolved QPID-2423.
----------------------------
Resolution: Fixed
> Add Constructors to set initial value of content for MapContent and
> ListContent
> -------------------------------------------------------------------------------
>
> Key: QPID-2423
> URL: https://issues.apache.org/jira/browse/QPID-2423
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Client
> Reporter: Ted Ross
> Assignee: Ted Ross
> Priority: Minor
> Fix For: 0.7
>
>
> MapContent and ListContent (helper classes in the qpid::messaging API) don't
> have a convenient way of being initialized with an already-existing map or
> list.
> I propose that in addition to the {Map,List}Content(Message&) constructor, a
> new constructor be added that also takes a const Variant::{Map,List}& as an
> initial value.
> Note that the current constructors will decode map/list content already in
> the message. That will remain unchanged but the new constructors will clear
> the message content, if there is any.
> -Ted
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]