You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Anton Kudinov (Created) (JIRA)" <ji...@apache.org> on 2012/02/14 15:36:04 UTC
[jira] [Created] (CAMEL-5004) Camel simple language wrong working
with real number
Camel simple language wrong working with real number
----------------------------------------------------
Key: CAMEL-5004
URL: https://issues.apache.org/jira/browse/CAMEL-5004
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.3.0
Environment: linux, servicemix-4.3.1-fuse-01-09
Reporter: Anton Kudinov
I compute real number in route:
<setBody>0.02</setBody>
After that I want to filter:
<filter><simple>${body} > 0 </simple> ... </filter>
This expression return false for value in body = 0.02
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-5004) Camel simple language wrong working
with real number
Posted by "Anton Kudinov (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Kudinov updated CAMEL-5004:
---------------------------------
Environment: linux, servicemix-4.3.1 (was: linux, servicemix-4.3.1-fuse-01-09)
Affects Version/s: (was: 2.3.0)
2.6.0
> Camel simple language wrong working with real number
> ----------------------------------------------------
>
> Key: CAMEL-5004
> URL: https://issues.apache.org/jira/browse/CAMEL-5004
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.6.0
> Environment: linux, servicemix-4.3.1
> Reporter: Anton Kudinov
>
> I compute real number in route:
> <setBody>0.02</setBody>
> After that I want to filter:
> <filter><simple>${body} > 0 </simple> ... </filter>
> This expression return false for value in body = 0.02
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CAMEL-5004) Camel simple language wrong working
with real number
Posted by "Claus Ibsen (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-5004:
----------------------------------
Assignee: Claus Ibsen
> Camel simple language wrong working with real number
> ----------------------------------------------------
>
> Key: CAMEL-5004
> URL: https://issues.apache.org/jira/browse/CAMEL-5004
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.6.0
> Environment: linux, servicemix-4.3.1
> Reporter: Anton Kudinov
> Assignee: Claus Ibsen
>
> I compute real number in route:
> <setBody>0.02</setBody>
> After that I want to filter:
> <filter><simple>${body} > 0 </simple> ... </filter>
> This expression return false for value in body = 0.02
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-5004) Camel simple language wrong working
with real number
Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5004.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.10.0
2.9.1
I have improved the simple language to work better with floating point numbers.
> Camel simple language wrong working with real number
> ----------------------------------------------------
>
> Key: CAMEL-5004
> URL: https://issues.apache.org/jira/browse/CAMEL-5004
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.6.0
> Environment: linux, servicemix-4.3.1
> Reporter: Anton Kudinov
> Assignee: Claus Ibsen
> Fix For: 2.9.1, 2.10.0
>
>
> I compute real number in route:
> <setBody>0.02</setBody>
> After that I want to filter:
> <filter><simple>${body} > 0 </simple> ... </filter>
> This expression return false for value in body = 0.02
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira