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

ASF GitHub Bot commented on DISPATCH-875:
-----------------------------------------

Github user kgiusti commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/218#discussion_r151441999
  
    --- Diff: doc/new-book/routing.adoc ---
    @@ -213,15 +213,17 @@ address {
     }
     ----
     
    -`prefix` | `pattern`:: The address or group of addresses to which the 
address settings should be applied. You can specify a prefix to match an exact 
address or segment of an address. Alternatively, you can specify a pattern to 
match an address using wildcards.
    +`prefix` | `pattern`:: The address or group of addresses to which the 
address settings should be applied. You can specify a prefix to match an exact 
address or beginning segment of an address. Alternatively, you can specify a 
pattern to match an address using wildcards.
     +
     //tag::prefix-matching[]
    -A _prefix_ matches either an exact address or a segment within an address 
that is delimited by either a `.` or `/` character. For example, the prefix 
`my_address` would match the address `my_address` as well as `my_address.1` and 
`my_address/1`. However, it would not match `my_address1`.
    +A _prefix_ matches either an exact address or the beginning segment within 
an address that is delimited by either a `.` or `/` character. For example, the 
prefix `my_address` would match the address `my_address` as well as 
`my_address.1` and `my_address/1`. However, it would not match `my_address1`.
     //end::prefix-matching[]
     +
     //tag::pattern-matching[]
     A _pattern_ matches an address that corresponds to a pattern. A pattern is 
a sequence of words delimited by either a `.` or `/` character. You can use 
wildcard characters to represent a word. The  `*` character matches exactly one 
word, and the `#` character matches any sequence of zero or more words.
     +
    +The pattern configuration and the address(es) that match the pattern 
should use the same delimiter character. For example, if you configure the 
pattern to be `my.+`, then the addresses that match the pattern should also use 
a `.` as a delimiter (instead of a `/`).
    --- End diff --
    
    "my.+" - did you intend to use '+' as a token?   I'd avoid using '+' as an 
example since in the future we may want to support MQTT compatible wildcards, 
which use '+' as a wildcard value.  


> Document address and link route wildcards
> -----------------------------------------
>
>                 Key: DISPATCH-875
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-875
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.1.0
>            Reporter: Ben Hardesty
>            Assignee: Ben Hardesty
>
> Update Dispatch Router doc to describe how to define groups of addresses 
> using the new "pattern" address attribute.



--
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