Address String's "qpid.subject" property is not compatible with BURL's routingkey in qpid Java client

Solution Verified - Updated -

Issue

Hi there,

We need to apply routing rules dynamically regarding our program execution flow.

When using address strings we can set "qpid.subject" property on the JMS Message and if there is a binding that matches this property the message will be routed to the corresponding queue.

"qpid.subject" property allows us to have only one destination(exchange) we publish messages to.

When using BURLs, "qpid.subject" property is not interpreted by qpid java client anyhow, so all the messages are dropped by the broker.

All the routing is controller with "routingkey" parateter that cannot be specified dynamically for a single address. So multiple addresses have to be configured.

How to dynamically set routing key when using BURL syntax?

Environment

  • MRG Messaging 2.*
  • qpid Java client

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.