JmsPollingConsumer - receive does not work
------------------------------------------
Key: CAMEL-1497
URL: https://issues.apache.org/activemq/browse/CAMEL-1497
Project: Apache Camel
Issue Type: Bug
Components: camel-jms
Affects Versions: 1.6.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.0.0, 1.6.1
The timeout values to set on Spring JmsTemplate is wrong. We should uses the
provided constants on JmsTemplate for this
{code}
/**
* Timeout value indicating that a receive operation should
* check if a message is immediately available without blocking.
*/
public static final long RECEIVE_TIMEOUT_NO_WAIT = -1;
/**
* Timeout value indicating a blocking receive without timeout.
*/
public static final long RECEIVE_TIMEOUT_INDEFINITE_WAIT = 0;
{code}
Is the correct values. Looks like the values was reverted in the camel-jms code
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.