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

Ganesh Murthy commented on DISPATCH-159:
----------------------------------------

I am working on a hierarchical/graduated address hashing scheme which retrieves 
the address based on the hash by progressively first exact matching or later 
prefix matching the address components.

For example, if linkRoutePattern, say, is set to policy/org/apache and the 
address being looked up is policy/org/apache/dev/new, the address matching is 
performed in the following order -

1. 'policy/org/apache/dev/new' - no match, proceed to step 2
2. 'policy/org/apache/dev' - no match, proceed to step 3
3. 'policy/org/apache' - We got an address match here. This match is a prefix 
match - return the associated address which can be used to successfully 
complete link routing

This is an improvement over the existing "." matching pattern.

> Enhance the address prefix used for link routing to support different patterns
> ------------------------------------------------------------------------------
>
>                 Key: DISPATCH-159
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-159
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>    Affects Versions: 0.4
>            Reporter: Jakub Scholz
>            Assignee: Ganesh Murthy
>             Fix For: 0.6
>
>
> The address used for link routing (in linkRoutePattern element) is currently 
> allowed to have only the form of a text without periods (.) followed by a 
> single period. That's quite a limitation in some situations. 
> The link routing should be enhanced to support different prefixes with 
> multiple periods or without any periods at all. That would give the link 
> routing mode lot more flexibility.



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

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

Reply via email to