camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From somchaij <t...@abctech-thailand.com>
Subject JmsPollingConsumer and method receiveNoWait has incorrect timeout value
Date Fri, 16 Nov 2012 06:01:56 GMT
According to this bug https://issues.apache.org/jira/browse/CAMEL-1497, that
we should use the constant provided in JmsTemplate (spring), which later on
it's break the compatible of Spring 2.0,

in the trunk of 2.11-SNAPSHOT, I saw that the method "receiveNoWait" still
using the constant of "1" (which mean the timeout of receiving message is
1ms), which I think it should be "-1" (according to JmsTemplate API, -1
imply the RECEIVE_TIMEOUT_NO_WAIT)

Am I misunderstand something ? 



--
View this message in context: http://camel.465427.n5.nabble.com/JmsPollingConsumer-and-method-receiveNoWait-has-incorrect-timeout-value-tp5722817.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message