[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Wild card Subscriptions
timfox
do-not-reply at jboss.com
Sat Jan 10 08:51:24 EST 2009
>From the spec:
"The binding key is formed using zero or more tokens, with each token delimited by the '.' char. The binding key
MUST be specified in this form and additionally supports special wild-card characters: '*' matches a single word and
'#' matches zero or more words.
Thus the binding key "*.stock.#" matches the routing keys "usd.stock" and "eur.stock.db" but not "stock.nasdaq".
"
^^^ That should answer your question about the 4th dot.
Regarding "invalid" bindings, in second thoughts we should probably allow those addresses since they are valid JMS names.
However we should add tests that e.g.
a.b.c DOES NOT match a.b.c# (since it doesn't according to AMQP rules)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200776#4200776
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200776
More information about the jboss-dev-forums
mailing list