Uploaded image for project: 'AMQ Documentation'
  1. AMQ Documentation
  2. AMQDOC-2403

Document proper usage of containerId for autoLinks/linkRoutes entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • IC-1.1.0
    • None
    • Interconnect DOC
    • None
    • Week 13 (Mar 26 - Apr 1), Week 14 (Apr 2 - Apr 8), Week 15 (Apr 9 - Apr 15), Week 16 (Apr 17 - Apr 21), Weeks 46, 47 (Nov 13-24)

      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 -

      qd_parsed_field_t *in_use_conn = is_container ? container_field : connection_field;
      

      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.

              behardesty Ben Hardesty
              mlesko1 Matej Lesko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: