You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/29 17:47:16 UTC

[jira] [Commented] (QPID-5732) Perl client examples issues

    [ https://issues.apache.org/jira/browse/QPID-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13984422#comment-13984422 ] 

ASF subversion and git services commented on QPID-5732:
-------------------------------------------------------

Commit 1591006 from [~mcpierce] in branch 'qpid/trunk'
[ https://svn.apache.org/r1591006 ]

QPID-5732: Perl examples getting the wrong cmdline arguments

The hello_world and map_receiver examples had a one-off error when
getting command line arguments. This patch points them back to the
correct arguments.

Contributed by Zdenek Kraus <zk...@redhat.com>

> 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
>             Fix For: Future
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org