Otavio Rodolfo Piske created CAMEL-17106:
--------------------------------------------
Summary: JMS requestTimeout seems to be ignored
Key: CAMEL-17106
URL: https://issues.apache.org/jira/browse/CAMEL-17106
Project: Camel
Issue Type: Bug
Components: camel-jms
Affects Versions: 3.12.0
Reporter: Otavio Rodolfo Piske
I was looking at the CI and code trying to understand why this test [1] runs
so much slower than the others (~20 secs) and I noticed something strange.
Despite being configured to use 1 sec as the timeout [2], the value seems to be
ignored and the request nonetheless times out only after 20 secs.
Modifying the template's requestBody call to override the timeout using the
CamelJmsRequestTimeout header seems to work-around the issue (and apparently
fixes the test slowness as well).
#
[https://github.com/apache/camel/blob/8cd6b34e8bc753520f3153a354beb9765e3f2741/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteRequestReplyTest.java#L407]
#
[https://github.com/apache/camel/blob/8cd6b34e8bc753520f3153a354beb9765e3f2741/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteRequestReplyTest.java#L409]
#
--
This message was sent by Atlassian Jira
(v8.3.4#803005)