You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/11/04 15:49:58 UTC

[jira] [Updated] (PROTON-1004) Inconsistency in container.create_sender

     [ https://issues.apache.org/jira/browse/PROTON-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated PROTON-1004:
--------------------------------
    Labels: usability  (was: )

> Inconsistency in container.create_sender
> ----------------------------------------
>
>                 Key: PROTON-1004
>                 URL: https://issues.apache.org/jira/browse/PROTON-1004
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.10
>            Reporter: Ted Ross
>            Assignee: Gordon Sim
>              Labels: usability
>             Fix For: Future
>
>
> For URL = "localhost:5672/examples"
> Using the API in two different ways:
> {noformat}
>     def on_start(self, event):
>         event.container.create_sender(URL)
> {noformat}
> Yields an attach with the following target:
> [address="examples", durable=0, timeout=0, dynamic=false]
> But this variation yields something different:
> {noformat}
>     def on_start(self, event):
>         conn = event.container.connect(URL, heartbeat=8)
>         event.container.create_sender(conn, URL)
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org