Fixed error message when '#' wildcard isn't at the end of an address

When user tries to use # in address specification in configuration file (eg test.#.queue), the error message said that * cannot be used like that.