qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Goldstein <andy.goldst...@redhat.com>
Subject Re: Sending objects to receivers
Date Tue, 16 Oct 2012 16:44:20 GMT
Could you just take your class's properties and place them in a map?

Andy

On Oct 16, 2012, at 12:29 PM, Rajesh Khan wrote:

> While studying QPIDD I realized that I could send maps and lists to
> receivers like this
> 
>            qpid::types::Variant::Map content;
>            content["id"] = 987654321;
>            content["name"] = "Widget";
>            content["percent"] = 0.99;
>            encode(content, message);
>            sender.send(message);
> 
> 
> I wanted to know How could I send a customized object I created from a
> class. ?  Any suggestions ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message