You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Matej Lesko (JIRA)" <ji...@apache.org> on 2017/02/23 18:02:44 UTC

[jira] [Updated] (DISPATCH-639) Document proper usage of containerId for autoLinks/linkRoutes entities

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

Matej Lesko updated DISPATCH-639:
---------------------------------
    Description: 
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. 


  was:
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.

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. 



> 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
>
> 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org