How to set non-durable messages in qpid Java client?

Solution Verified - Updated -

Issue

  • qpid java client sends by default durable messages (as it follows JMS specification).
  • marking individual message as NON_PERSISTENT does not have an effect

How to change message durability/persistency?

Environment

  • Red Hat Enterprise MRG Messaging
    • 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