[ https://issues.apache.org/jira/browse/DISPATCH-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120344#comment-16120344 ]
ASF GitHub Bot commented on DISPATCH-803: ----------------------------------------- GitHub user ganeshmurthy opened a pull request: https://github.com/apache/qpid-dispatch/pull/185 DISPATCH-803 - The following changes were made to support forbidden d… …istribution 1. Added a new attribute to the router entity called called defaultDistribution which defaults to balanced but can be set to forbidden 2. Attaches to forbidden addresses are rejected and the link is detached 3. Anonymous senders sending to forbidden addresses will be sent back a disposition of PN_REJECTED but link will not be closed 4. Added system test system_tests_default_distribution.py to test the above cases You can merge this pull request into a Git repository by running: $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-803 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-dispatch/pull/185.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #185 ---- commit 6ddee464d11e570fdfe8f2599e1587c3f4fc0c42 Author: Ganesh Murthy <gmur...@redhat.com> Date: 2017-08-09T17:41:08Z DISPATCH-803 - The following changes were made to support forbidden distribution 1. Added a new attribute to the router entity called called defaultDistribution which defaults to balanced but can be set to forbidden 2. Attaches to forbidden addresses are rejected and the link is detached 3. Anonymous senders sending to forbidden addresses will be sent back a disposition of PN_REJECTED but link will not be closed 4. Added system test system_tests_default_distribution.py to test the above cases ---- > 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