Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1578

Provide address pattern examples highlighting use of both pattern separator characters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.0
    • Backlog
    • Documentation
    • None

    Description

      Folks have been tripped up on a subtle property of the address pattern matching syntax:  that the separators '/' and '.' are equivalent.  They've attempted to configure two patterns which actually overlap.  Example:

       

      pattern: foo.bar

      and pattern: foo/bar

       

      The documentation does mention this, however it would probably be more obvious with an example.  For example, highlight that

      foo.bar.baz == foo/bar/baz == foo.bar/baz == foo/bar.baz == etc

      The reason the router accepts both forms is that legacy applications tend to use the old amqp 0-10 pattern format ('.' is the separator) whilst the proposed AMQP addressing spec uses '/'.

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: