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 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.