[
https://issues.apache.org/jira/browse/DISPATCH-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657336#comment-16657336
]
ASF GitHub Bot commented on DISPATCH-1143:
------------------------------------------
Github user kgiusti commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/393#discussion_r226763750
--- Diff: python/qpid_dispatch_internal/management/agent.py ---
@@ -417,6 +417,13 @@ def create(self):
def __str__(self):
return super(LinkRouteEntity, self).__str__().replace("Entity(",
"LinkRouteEntity(")
+class RouterConnectionAttachsubscriptionEntity(EntityAdapter):
--- End diff --
Ya know, the default error message isn't too bad:
2018-10-19 15:37:07.199514 -0400 ERROR (error) Python: Exception: Cannot
load configuration file X.conf: No such entity type
'org.apache.qpid.dispatch.attachSubscription'
2018-10-19 15:37:07.199789 -0400 ERROR (error) Traceback (most recent call
last):
File
"/home/kgiusti/work/dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/config.py",
line 169, in configure_dispatch
config = Config(filename)
File
"/home/kgiusti/work/dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/config.py",
line 56, in __init__
% (filename, e))
Exception: Cannot load configuration file X.conf: No such entity type
'org.apache.qpid.dispatch.attachSubscription'
2018-10-19 15:37:07.199805 -0400 MAIN (critical) Router start-up failed:
Python: Exception: Cannot load configuration file X.conf: No such entity type
'org.apache.qpid.dispatch.attachSubscription'
qdrouterd: Python: Exception: Cannot load configuration file X.conf: No
such entity type 'org.apache.qpid.dispatch.attachSubscription'
A little better than a generic parse error.
> Connection-scoped link routes
> -----------------------------
>
> Key: DISPATCH-1143
> URL: https://issues.apache.org/jira/browse/DISPATCH-1143
> Project: Qpid Dispatch
> Issue Type: New Feature
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
>
> A new type of link route that exists only as long as the connection over
> which it has been created remains open. The new link route is automatically
> bound to that connection (cannot specify a different container-id nor
> connection). Once the connection closes the link route's configuration
> vanishes.
> More detail TBA....
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]