Why is specifying username/password in qpid JMS clients mandatory?

Solution Verified - Updated -

Issue

Section 3.2.2 of the MRG 2.0/ Programming in Apache Qpid guide says that the username/password in the JNDI connection URL is optional:

amqp://[<user>:<pass>@][<clientid>]<virtualhost>[?<option>='<value>'[&<option>='<value>']]

But a URL without the username/password results in a parse exception. Is this a bug?

Environment

  • MRG Messaging 2.0, 2.1, 2.2 and 2.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content