"Queue not found" exception for "create:always" queue in qpid address string

Solution Verified - Updated -

Issue

Creating in a loop a connection, session and consumer defined in JNDI property file, second instance of the loop raises "Queue not found" exception - despite the address string contains "create:always".

Environment

  • Red Hat Enterprise MRG Messaging 2
  • qpid Java client

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