qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Khan <rajeshkhan...@gmail.com>
Subject How would you receive this C++ List in C#
Date Mon, 22 Oct 2012 22:40:50 GMT
Hi , I have something like this in my C++ program

    qpid::types::Variant::Map content;
    content["keyA"] = "ValA";
    content["KeyB"] = "ValB"

    qpid::types::Variant::List object;
    object.push_back(content);

    encode(object,message);
    sender_.send(message);

Now in my C# I have something like this
if ("amqp/list" == message_.ContentType)
{
                        Collection<object> content = new
Collection<object>();
                        message_.GetContent(content);
                        //How could I get a Dictinary from this ?
}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message