[ https://issues.apache.org/jira/browse/QPID-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865937#action_12865937 ]
Chuck Rolke commented on QPID-2589: ----------------------------------- Thanks for the comments. * Raw byte[] interface - will do * .Net naming/use of properties - will do * defensive code/memory leaks - hadn't gotten to that yet, but you're right and will do. The up-and-coming interface to Variant::List and Variant::Map will probably look like the following pseudo-code: // // Create structured content for the message. This example builds a // map of items including a nested map and a list of values. // Dictionary<string, object> content = new Dictionary<string, object>(); Dictionary<string, object> subMap = new Dictionary<string, object>(); List<object> colors = new List<object>(); content["id"] = 987654321; content["name"] = "Widget"; content["percent"] = 0.99; submap["name"] = "Smith"; submap["number"] = 354; content["nested"] = submap; colors.Add("red"); colors.Add("green"); colors.Add("white"); content["colors"] = colors; // // Construct a message with the map content and send it synchronously // via the sender. // Message message = new Message(content); sender.send(message, true); Do you think Dictionary and List objects are the best choices? > Add a .NET binding to QPID Messaging API > ---------------------------------------- > > Key: QPID-2589 > URL: https://issues.apache.org/jira/browse/QPID-2589 > Project: Qpid > Issue Type: New Feature > Components: C++ Client > Affects Versions: 0.7 > Environment: Windows > Reporter: Chuck Rolke > Assignee: Ted Ross > Fix For: 0.7 > > Attachments: qpid_bindings.diff > > > This binding package is a .NET Interop wrapper around the Qpid Messaging > interface. It exposes the Messaging interface through a series of managed > code classes that may be used by any .NET language. -- 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:dev-subscr...@qpid.apache.org