qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paolo Patierno (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISPATCH-293) The $ character can't be used inside a prefix for linkRoute
Date Mon, 25 Apr 2016 15:29:12 GMT
Paolo Patierno created DISPATCH-293:
---------------------------------------

             Summary: The $ character can't be used inside a prefix for linkRoute
                 Key: DISPATCH-293
                 URL: https://issues.apache.org/jira/browse/DISPATCH-293
             Project: Qpid Dispatch
          Issue Type: Bug
    Affects Versions: 0.6
            Reporter: Paolo Patierno


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/'




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

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


Mime
View raw message