Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5732

Perl client examples issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22
    • Fix Version/s: Future
    • Component/s: Perl Client
    • Labels:
      None

      Description

      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:

        Attachments

          Activity

            People

            • Assignee:
              mcpierce Darryl Pierce
              Reporter:
              mcpierce Darryl Pierce
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: