[ https://issues.apache.org/jira/browse/DISPATCH-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120462#comment-16120462 ]
ASF GitHub Bot commented on DISPATCH-803: ----------------------------------------- Github user ganeshmurthy commented on a diff in the pull request: https://github.com/apache/qpid-dispatch/pull/185#discussion_r132275310 --- Diff: include/qpid/dispatch/router.h --- @@ -42,7 +42,8 @@ typedef enum { QD_TREATMENT_MULTICAST_ONCE = 1, QD_TREATMENT_ANYCAST_CLOSEST = 2, QD_TREATMENT_ANYCAST_BALANCED = 3, - QD_TREATMENT_LINK_BALANCED = 4 + QD_TREATMENT_LINK_BALANCED = 4, + QD_TREATMENT_LINK_FORBIDDEN = 5 --- End diff -- Changed QD_TREATMENT_LINK_FORBIDDEN to QD_TREATMENT_FORBIDDEN > refuse attach to undefined addresses > ------------------------------------ > > Key: DISPATCH-803 > URL: https://issues.apache.org/jira/browse/DISPATCH-803 > Project: Qpid Dispatch > Issue Type: Improvement > Reporter: Gordon Sim > Assignee: Ganesh Murthy > Fix For: 1.0.0 > > > At present, if you attach to an address in the router whose semantics have > not been specifically defined, you get balanced message routing semantics. > It would be useful to be able to configure the router such that it would > refuse links whose source/target was not explicitly defined. E.g. by being > able to configure the default semantics to be of type 'invalid' (or anything > similar). (Being able to explicitly blacklist certain addresses might also be > nice, but is a more exotic use case I think). > Messages sent through an anonymous link to these 'invalid' addresses would be > rejected. > -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org