How to set JMS_REQUEST_TIMEOUT on messages individually rather than Queue ?

Solution Verified - Updated -

Issue

  • Is there a way to use Using JmsConstants.JMS_REQUEST_TIMEOUT per message in 2.12.0?
  • I have a requirement where I need to specify timeout per message at the producer endpoint in camel route. I am using 2.12.0.redhat-610379 camel version. So after some research I found I can attach JmsConstants.JMS_REQUEST_TIMEOUT header to set the timeout on each message individually. I tried to use the header and it actually does set the timeout accordingly.
  • But I can notice that on http://camel.apache.org/jms.html it is mentioned that this feature is to be used 2.12.3 and onwards. Is there any caveat in using JmsConstants.JMS_REQUEST_TIMEOUT in 2.12.0.redhat-610379 ?

Environment

  • Red Hat JBoss Fuse
    • 6.1.0
  • Red Hat JBoss A-MQ
    • 6.1.0

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