[GitHub] qpid-dispatch issue #261: DISPATCH-918 - Initial modifications to Python sch...

2018-02-27 Thread ganeshmurthy
Github user ganeshmurthy commented on the issue:

https://github.com/apache/qpid-dispatch/pull/261
  
Specifying the "dir" attribute only will generate a warning that will tell 
you that you are using a deprecated attribute. The warning will look something 
like this - 
2018-02-27 11:34:41.138705 -0500 AGENT (warning) Attribute 'dir' of entity 
'linkRoute' has been deprecated. Use 'direction' instead

The router will still start  

If both 'dir' and 'direction' attributes are specified, the router will 
display the following error and fail to start - 
2018-02-27 11:36:54.911916 -0500 MAIN (critical) Router start-up failed: 
Python: Exception: Cannot load configuration file test.conf: 
org.apache.qpid.dispatch.router.config.linkRoute: Both 'dir' and 'direction' 
cannot be specified for entity 'linkRoute'



---

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



[GitHub] qpid-dispatch issue #261: DISPATCH-918 - Initial modifications to Python sch...

2018-02-27 Thread bhardesty
Github user bhardesty commented on the issue:

https://github.com/apache/qpid-dispatch/pull/261
  
The "dir" -> "direction" doc updates look good.

If someone attempts to use a deprecated attribute, will the operation still 
succeed (in addition to the deprecation log warning)? Or will the operation 
fail? 


---

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