camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-1497) JmsPollingConsumer - receive does not work
Date Sat, 28 Mar 2009 11:00:42 GMT

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


Mime
View raw message