You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2018/04/13 09:00:00 UTC

[jira] [Created] (QPID-8165) [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console

Alex Rudyy created QPID-8165:
--------------------------------

             Summary: [Broker-J][WMC] Validation of configured object names is too restrictive in Web Management Console
                 Key: QPID-8165
                 URL: https://issues.apache.org/jira/browse/QPID-8165
             Project: Qpid
          Issue Type: Bug
          Components: Broker-J
            Reporter: Alex Rudyy


WMC only allows to create (or edit) configured object with names consisting only from any mixture of digits, letters, and underscores. This restriction was added into Web Management Console to meet the requirements of AMQP 0-8 protocol. The queue and exchange names in  domain definition are defined as  name consisting only from digits, letters, and underscores.

{quote}
The queue name identifies the queue within the vhost.  Queue
    names may consist of any mixture of digits, letters, and
    underscores.
{quote}

{quote}
The exchange name is a client-selected string that identifies
      the exchange for publish methods.  Exchange names may consist
      of any mixture of digits, letters, and underscores.  Exchange
      names are scoped by the virtual host.
{quote}

However, in definitions of declare commands for queue and exchange  the AMQP 0-8 specifies a regular expression for the names allowing more characters:
{code}
^[a-zA-Z0-9-_.:]*$
{code}
The same regular expression is defined in specifications for AMQP 0-9 and 0-9-1.

AMQP 0-10 allows more characters in queue name

{quote}
 Queue names must have a length
        of between 1 and 255 characters inclusive, must start with a digit, letter or underscores
        ('_') character, and must be otherwise encoded in UTF-8.
{quote}






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org