[
https://issues.apache.org/jira/browse/CAMEL-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Keller updated CAMEL-7428:
--------------------------------
Comment: was deleted
(was: I was not able to install 2.13.1. I downloaded
http://repository.apache.org/content/repositories/orgapachecamel-1008/org/apache/camel/apache-camel/2.13.1/apache-camel-2.13.1-src.zip,
executed {{mvn install}} and got following error:
{noformat}
Running org.apache.camel.view.XmlGraphTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec - in
org.apache.camel.view.XmlGraphTest
Results :
Failed tests:
FileProducerRenameUsingCopyTest>TestSupport.runBare:58->testMove:41->ContextTestSupport.assertMockEndpointsSatisfied:343
mock://result Content of file: target/file/done/hello.txt. Expected: <Hello
Camel> but was: <>
Tests run: 4902, Failures: 1, Errors: 0, Skipped: 3
{noformat}
I use MacOS with java version "1.7.0_40".
I tried to subscribe to [email protected] but without success
(yet), so I post the error here.)
> Simple Language - Operators are not evaluated for setting body or headers
> -------------------------------------------------------------------------
>
> Key: CAMEL-7428
> URL: https://issues.apache.org/jira/browse/CAMEL-7428
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.12.3, 2.13.0
> Reporter: Peter Keller
> Assignee: Claus Ibsen
> Fix For: 2.12.4, 2.13.1, 2.14.0
>
>
> Operators are not evaluated if using {{simple}} for setting bodies or headers:
> {code}
> from("direct:simple")
> .setHeader("myHeader").simple("true == true", Boolean.class)
> .log("header = [${header.myHeader}]")
> .setBody(simple("true == true", Boolean.class))
> .log("body = [${body}]");
> {code}
> Output is as follows:
> {code}
> INFO header = [false]
> INFO body = [false]
> {code}
> The outcome should be {{true}} in both cases.
> Also, see
> http://stackoverflow.com/questions/23523409/camel-how-to-set-boolean-header-parameter-using-simple-comparison/23560989#23560989
--
This message was sent by Atlassian JIRA
(v6.2#6252)