Log Message: |
PROTON-582: Perl Message can infer the type of the content provided.
The qpid::proton::Message->set_body() method can take either a single
argument (the body) or two arguments (the body and an explicit type).
Previous, if the second argument wasn't provided, the code assumed it
was a qpid::message::STRING type.
Now, the code will attempt to determine the type of the argument. It can
successfully infer a hash, array, int and string. It will default to a
string if it cannot otherwise determine the type.
|