[ 
https://issues.apache.org/jira/browse/DISPATCH-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118648#comment-16118648
 ] 

Ganesh Murthy commented on DISPATCH-803:
----------------------------------------

I talked to [~tr...@redhat.com] about this and this is what we are proposing -

Add a new attribute called *defaultDistribution* to the *router* entity. This 
attribute is optional and will default to *balanced*. It can have a value of 
*forbidden* (we will introduce a new distribution called *forbidden*)

{noformat}
router {
    mode: standalone
    id: Router.A
    defaultDistribution: forbidden
}
{noformat}

If a sender or receiver, whose source/target address is not explicitly defined 
in the router config file (or via qdmanage), is trying to attach, it would be 
refused if the defaultDistribution is set to 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

Reply via email to