Jiri Danek created DISPATCH-339:
-----------------------------------

             Summary: The change from 'routerId' to 'id' configuration option 
is not backward compatible
                 Key: DISPATCH-339
                 URL: https://issues.apache.org/jira/browse/DISPATCH-339
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Router Node
    Affects Versions: 0.6.0
            Reporter: Jiri Danek


I started qdrouterd with the following configuration

{noformat}
router {
    mode: interior
    routerId: r.a
}

listener {
    addr: 0.0.0.0
    port: amqp
    authenticatePeer: no
}
{noformat}

Running qdstat then prints that Router id is None.

{code:title=qdstat -g|borderStyle=solid}
Router Statistics
  attr           value
  =========================
  Mode           interior
  Area           0
  Router Id      None
  Address Count  0
  Link Count     0
  Node Count     0
{code}

Other commands, for example

{code:title=qdstat -n|borderStyle=solid}
Routers in the Network
  router-id  next-hop  link
  ===========================
  r.a        (self)
{code}

work correctly in this respect.

If I update my config and use {{id}} instead of {{routerId}}, then qdstat 
prints correct information.

I'd expect that the config that worked before the routerId/id change would 
continue working.

NOTE: I noticed that if I use routerId, no deprecation warning is shown in 
qdrouterd output with the default log level. As far as I can remember, there 
are deprecation warnings for some features like fixedAddress, I think.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to