The Jolokia Rest URL exposed by the AMQ 7 web console doesnt work if destination name contains a '/'

Solution Verified - Updated -

Issue

The AMQ 7 web console (hawtio) offers a Jolokia HTTP URL for all the broker metrics to be queried. If the metric is for a destination (queue or topic) and the destination name contains a '/' character, then this character is not escaped correctly.
The Jolokia URL that is given in this case cannot be used, it raises a HTTP response with code 400 and the error message "Invalid object name. Unterminated quoted value." if called against the broker.

Environment

  • JBoss AMQ
    • 7.0
    • 7.0.1
    • 7.0.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.