Client and Broker do not validate (routing key) topic name
----------------------------------------------------------

                 Key: QPID-371
                 URL: https://issues.apache.org/jira/browse/QPID-371
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker, Java Client
            Reporter: Martin Ritchie


>From the AMQP spec:

The routing key used for a topic exchange MUST consist of words delimited by 
dots. Each word may contain the letters A-Z and a-z and digits 0-9.

The routing pattern follows the same rules as the routing key with the addition 
that * matches a single word, and # matches zero or more words. Thus the 
routing pattern *.stock.# matches the routing keys usd.stock and eur.stock.db 
but not stock.nasdaq.

One suggested design for the topic exchange is to hold the set of all known 
routing keys, and update this when publishers use new routing keys. It is 
possible to determine all bindings for a given routing key, and so to rapidly 
find the message queues for a message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to