Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-6

Alternative topic separators should be supported in Apollo, as in ActiveMQ

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0-beta2
    • 1.0-beta3
    • apollo-broker
    • All environments.

    Description

      When using a character other than a period as a topic separator (.), 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.

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            samstarling Sam Starling
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: