Ganesh Murthy created PROTON-1155:
-------------------------------------

             Summary: [proton-c] Add allowed_mechs to BlockingConnection 
constructor
                 Key: PROTON-1155
                 URL: https://issues.apache.org/jira/browse/PROTON-1155
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
    Affects Versions: 0.12.0
            Reporter: Ganesh Murthy
            Priority: Minor


In the Proton Python binding, currently there is no way to pass in 
allowed_mechs to BlockingConnection's constructor 

BlockingConnection's constructor should take in an allowed_mechs parameter. 
The Container object has a connect function 
{code}
def connect(self, url=None, urls=None, address=None, handler=None, 
reconnect=None, heartbeat=None, ssl_domain=None, **kwargs): 
{code}
The above function already sets the allowed_mechs on the Connector
{code}
connector.allowed_mechs = kwargs.get('allowed_mechs', self.allowed_mechs)
{code}

So BlockingConnection just needs to pass in the allowed_mechs and the rest is 
take care of by the Container



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

Reply via email to