qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-2486) cannot move messages onto a durable subscription backing queue using the JMX Management Console
Date Thu, 08 Apr 2010 13:46:36 GMT

     [ https://issues.apache.org/jira/browse/QPID-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robbie Gemmell updated QPID-2486:
---------------------------------

    Description: The backing queue created for durable subscriptions contains a colon in the
name, <clientid>:<subscription name>, which cannot be used in unquoted form within
a JMX ObjectName. The broker does not quote the queue name in the ObjectName and instead encodes
the name by substituting a - for the colon. As a result, when attempt is made to move messages
onto the backing queue of a durable subscription using the management console, it sends the
ObjectName interpretation of the queue name to the broker and not the actual name, leading
to a NullPointerException being genereated within the mesage store when trying to store the
message on the new queue, because the queue does not actually exist as specified.  (was: The
backing queue created for durable subscriptions contains a colon in the name, <clientid>:<subscription
name>, whichi cannot be used in unquoted form within a JMX ObjectName. The broker doe snot
quote the name in the ObjectName and isntead encodes the name by substituting a - for the
colon. As a result, when attempt is made to move messages onto the backing queue of a durable
subscription using the management console, it sends the ObjectName interpretation of the queue
name to the broker and not the actual name, leading to a NullPointerException being genereated
within the BDB when trying to store the message on the new queue, because the queue does not
exist as specified.)

> cannot move messages onto a durable subscription backing queue using the JMX Management
Console
> -----------------------------------------------------------------------------------------------
>
>                 Key: QPID-2486
>                 URL: https://issues.apache.org/jira/browse/QPID-2486
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console
>    Affects Versions: M2.1, M3, M4, 0.5, 0.6
>            Reporter: Robbie Gemmell
>             Fix For: 0.6
>
>
> The backing queue created for durable subscriptions contains a colon in the name, <clientid>:<subscription
name>, which cannot be used in unquoted form within a JMX ObjectName. The broker does not
quote the queue name in the ObjectName and instead encodes the name by substituting a - for
the colon. As a result, when attempt is made to move messages onto the backing queue of a
durable subscription using the management console, it sends the ObjectName interpretation
of the queue name to the broker and not the actual name, leading to a NullPointerException
being genereated within the mesage store when trying to store the message on the new queue,
because the queue does not actually exist as specified.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message