Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-293

The $ character can't be used inside a prefix for linkRoute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • None
    • None

    Description

      Using a prefix like "$cbs" inside a linkRoute throws the following error at router startup :

      Mon Apr 25 15:09:24 2016 ERROR (error) Python: Exception: Cannot load configuration file /opt/config/ex06_iothub_my.conf: org.apache.qpid.dispatch.router.config.linkRoute: Invalid attribute reference '$cbs/'
      Mon Apr 25 15:09:24 2016 ERROR (error) Traceback (most recent call last):
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 146, in configure_dispatch
      config = Config(filename)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 41, in _init_
      self.load(filename, raw_json)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 121, in load
      self.load(f, raw_json)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 130, in load
      self.schema.validate_all(entities)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 616, in validate_all
      check_singleton=check_singleton)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 593, in validate_entity
      check_singleton=check_singleton)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 453, in validate
      value, lambda v: self.resolve(v, attributes), **kwargs)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 260, in validate
      value = resolve(value)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 453, in <lambda>
      value, lambda v: self.resolve(v, attributes), **kwargs)
      File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 406, in resolve
      raise ValidationError("Invalid attribute reference '%s'"%value)
      Exception: Cannot load configuration file /opt/config/ex06_iothub_my.conf: org.apache.qpid.dispatch.router.config.linkRoute: Invalid attribute reference '$cbs/'

      Attachments

        Activity

          People

            aconway Alan Conway
            ppatierno Paolo Patierno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: