"ataylor" wrote : I'm referring to the following code:
|
| if (checkAllowable)
| | {
| | if (!destinations.contains(address))
| | {
| | throw new
MessagingException(MessagingException.ADDRESS_DOES_NOT_EXIST,
| | "Cannot route to address " +
address);
| | }
| | }
|
| If we route to address a.b.* this obviously doesn't exist as an added address, how
do we handle this.#
|
I think you're misunderstanding how it's supposed to work.
You never route a message with a wildcard address, you *subscribe* with a wildcard
address.
I.e. you create a subscription to com.reuters.newsfeeds.*
But messages always get routed to absolute addresses e.g. com.reuters.newsfeeds.uk.sport.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175874#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...