How to set JMS_REQUEST_TIMEOUT on messages individually rather than Queue ?
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-610379camel version. So after some research I found I can attachJmsConstants.JMS_REQUEST_TIMEOUTheader 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.3and onwards. Is there any caveat in usingJmsConstants.JMS_REQUEST_TIMEOUTin2.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.