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

Ganesh Murthy resolved DISPATCH-639.
------------------------------------
    Resolution: Fixed

Added documentation to qdrouter.json to specify that only one of containerId or 
connection is allowed on autoLink/linkRoute.

> Document proper usage of containerId for autoLinks/linkRoutes entities
> ----------------------------------------------------------------------
>
>                 Key: DISPATCH-639
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-639
>             Project: Qpid Dispatch
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 0.7.0
>            Reporter: Matej Lesko
>            Assignee: Ganesh Murthy
>             Fix For: 0.8.0
>
>
> Usage of containerId is shadowed from the user point of the view.
> If you look at this code - 
> [https://github.com/apache/qpid-dispatch/blob/master/src/router_core/agent_config_auto_link.c#L413]
> you will see -  
> {code:none}
> qd_parsed_field_t *in_use_conn = is_container ? container_field : 
> connection_field;
> {code}
> which means  if there is a container field, use it otherwise use the 
> connection_field to specify the connection to use.
> This is not specified in the documentation. It means that when user has 
> created connector entity, assigned to the _autoLink/linkRoute_ entity, this 
> connector won't be used if _containerId_ is specified. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to