Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-605

Perl recv.pl messenger example displays garbage for the message body

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • perl-binding
    • None

    Description

      Description of problem:
      The underlying proton messenger calls being used by the perl binding for msg.set_content() and msg.get_content() have been deprecated. Running recv.pl displays random garbage characters for the message content. The message body is displayed correctly.

      Version-Release number of selected component (if applicable):
      proton-0.7

      How reproducible:
      100%

      Steps to Reproduce:
      run the perl messenger example recv.pl
      run the send example from any language binding (send.pl)

      Actual results:
      Address: amqp://0.0.0.0
      Subject: Tue May 13 12:57:50 2014
      Content: ���\:���\:
      Body: It is now Tue May 13 12:57:50 2014
      Properties:
      sent=Tue May 13 12:57:50 2014
      Instructions:
      spindle=no
      fold=yes
      mutilate=no
      Annotations:
      pill=RED
      version=1

      Expected results:
      The Content: line should be removed and the get/set content functions should be removed from the bindings (or at least not called by the send.pl and recv.pl examples)

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              mcpierce Darryl Pierce
              mcpierce Darryl Pierce
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: