Darryl L. Pierce created QPID-5732:
--------------------------------------
Summary: Perl client examples issues
Key: QPID-5732
URL: https://issues.apache.org/jira/browse/QPID-5732
Project: Qpid
Issue Type: Bug
Components: Perl Client
Affects Versions: 0.22
Reporter: Darryl L. Pierce
Assignee: Darryl L. Pierce
Perl client examples issues
Description of problem:
Perl examples hello_world.pl and map_receiver.pl incorrectly obtain posisional
arguments.
hello_world.pl differs from others in fetch where it not use a timeout = 1, it
complicates documentation of these examples.
Steps to Reproduce:
1. perl /usr/share/doc/perl-qpid-0.22/examples/hello_world.pl "localhost:5672"
"amq.direct"
2. perl /usr/share/doc/perl-qpid-0.22/examples/map_receiver.pl "localhost:5672"
"amq.direct"
Actual results:
[1]
2014-04-29 10:00:52 [Client] warning Exception received from broker: not-found:
Queue not found: localhost:5672
(/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/QueueRegistry.cpp:127)
[caused by 2 \x08:\x01]
Queue localhost:5672 does not exist at
/usr/lib/perl5/vendor_perl/qpid/messaging/Session.pm line 314.
2014-04-29 10:00:52 [Client] warning Connection [[::1]:54739-localhost:5672]
closed
[2]
2014-04-29 10:01:17 [Client] warning Exception received from broker: not-found:
Queue not found: localhost:5672
(/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/QueueRegistry.cpp:127)
[caused by 2 \x08:\x01]
Queue localhost:5672 does not exist at
/usr/lib/perl5/vendor_perl/qpid/messaging/Session.pm line 314.
2014-04-29 10:01:17 [Client] warning Connection [[::1]:54740-localhost:5672]
closed
Expected results:
the queue is takes from second positional argument
Additional info:
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]