camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Created: (CAMEL-1497) JmsPollingConsumer - receive does not work
Date Sat, 28 Mar 2009 10:39:42 GMT
JmsPollingConsumer - receive does not work

                 Key: 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

	 * 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;

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.

View raw message