FileLanguage - name.ext is missing in Camel 1.x
-----------------------------------------------
Key: CAMEL-1607
URL: https://issues.apache.org/activemq/browse/CAMEL-1607
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 1.6.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Minor
Fix For: 1.6.1
[15:19] <jacovt> cibsen: I actually had a look specifically at the
documentation regarding that.
[15:19] <jacovt> It says clearly there that for camel 1.5+ file:name.ext is
supported.
[15:19] <jacovt> So, thats why I was unsure if it should work or not.
[15:19] <jacovt> :)
[15:20] * mrhoden ([email protected]) has joined #camel
[15:21] <jacovt> cibsen: As you can see, ${file:name} works, but
${file.name.ext} does not.
[15:21] <jacovt> 's/${file.name.ext}/${file:name.ext}
[15:22] <jacovt> Strange.
[15:45] * Disconnected ().
[15:59] * Now talking on #camel
[16:00] * gtully ([email protected])
has joined #camel
[16:00] <cibsen> jacovt let me see in the code
[16:01] <cibsen> in 1.x the code is:
[16:01] <cibsen> } else if (ObjectHelper.equal(remainder,
"name.noext")) {
[16:01] <cibsen> return
FileExpressionBuilder.fileNameNoExtensionExpression();
[16:02] <cibsen> jacovt I will be dammed file:name.ext does not exist in 1.x
codebase
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.