Alternative topic separators should be supported in Apollo, as in ActiveMQ
--------------------------------------------------------------------------
Key: AMQ-3250
URL: https://issues.apache.org/jira/browse/AMQ-3250
Project: ActiveMQ
Issue Type: Improvement
Components: Apollo
Environment: All environments.
Reporter: Sam Starling
When using a character other than a period (.), Apollo throws the following
exception:
org.apache.activemq.apollo.util.path.PathParser$PathException: Invalid
destination path part: 'event/abc', it does not match regex:
[a-zA-Z0-9\_\-\%\~]+
In the example, we're using "/topic/event/abc" as a topic. In PathParser.java,
line 47 determines that path_seperator = new AsciiBuffer("."). Thus, Apollo
incorrectly tokenizes the topic and so "event/abc" fails the regular expression
on line 48 of the same file.
In short, it should be possible to specify what the topic separator is, or
(even better) detect when a different character is being used as a delimiter.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira