/[Apache-SVN]
ViewVC logotype

Revision 1630783


Jump to revision: Previous Next
Author: gsim
Date: Fri Oct 10 12:38:26 2014 UTC (9 years, 6 months ago)
Changed paths: 5
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.

Changed paths

Path Details
Directoryqpid/proton/branches/examples/examples/messenger/perl/recv.pl modified , text changed
Directoryqpid/proton/branches/examples/examples/messenger/perl/send.pl modified , text changed
Directoryqpid/proton/branches/examples/proton-c/bindings/perl/lib/qpid/proton/Data.pm modified , text changed
Directoryqpid/proton/branches/examples/proton-c/bindings/perl/lib/qpid/proton/Message.pm modified , text changed
Directoryqpid/proton/branches/examples/proton-c/bindings/perl/lib/qpid_proton.pm modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26