You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/28 12:00:42 UTC

[jira] Resolved: (CAMEL-1497) JmsPollingConsumer - receive does not work

     [ https://issues.apache.org/activemq/browse/CAMEL-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1497.
--------------------------------

    Resolution: Fixed

trunk: 759453.
1.x: 759454.

> 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.