Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-0.10
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.