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

Inconsistency in container.create_sender

    XMLWordPrintableJSON

Details

    Description

      For URL = "localhost:5672/examples"
      Using the API in two different ways:

          def on_start(self, event):
              event.container.create_sender(URL)
      

      Yields an attach with the following target:
      [address="examples", durable=0, timeout=0, dynamic=false]

      But this variation yields something different:

          def on_start(self, event):
              conn = event.container.connect(URL, heartbeat=8)
              event.container.create_sender(conn, URL)
      

      yields:
      [address="localhost:5672/examples", durable=0, timeout=0, dynamic=false]

      The attach targets should be consistent across these examples. I believe the first example is the correct one.

      Attachments

        Activity

          People

            gsim Gordon Sim
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: