Does proton messenger support sending complex maps as the message body? That
is, maps whose values are other maps or lists and not just strings?
When I send a message and the body is encoded as qpid::proton::MAP, the map
values appear to have been converted to strings.
For example (in perl)
In the sender
$msg->set_body({"foo" => 2, "bar" => [3]}, qpid::proton::MAP);
In the receiver when I dump the body, I'm getting
$VAR1 = \{
'bar' => 'ARRAY(0xa2aad0)',
'foo' => '2'
};
It appears that the array has been converted to the string 'ARRAY(0x...)'. And
the 2 is now a string '2'.
I don't think this is just the way the receiver is dumping the message body as
I'm not able to convert the results to the expected type or variable.
When I send a perl HASH instead of an array as one of the values, it is coming
through as the string'HASH(0x....)'.
-Ernie