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 2008/10/12 12:57:52 UTC

[jira] Created: (CAMEL-979) SimpleLanguage - to support constant expressions

SimpleLanguage - to support constant expressions
------------------------------------------------

                 Key: CAMEL-979
                 URL: https://issues.apache.org/activemq/browse/CAMEL-979
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 1.4.0
            Reporter: Claus Ibsen


Currently the simple language does not support constant expressions, that actually is useable in the file component that uses simple language to set file names

So if an end-user want to produce a file with a fixed name, then its not possible

{code}
expression=MyBigFile.txt 
{code}
Is not possible.

But this is:
{code}
expression=MyBigFile-${header.foo}.txt 
{code}
is as there is a ${} placeholder and then the simple language can evaluate it.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-979) FileLanguage - to support constant expressions

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-979.
-------------------------------

    Fix Version/s: 1.5.0
       Resolution: Fixed

Updated wiki as well

> FileLanguage - to support constant expressions
> ----------------------------------------------
>
>                 Key: CAMEL-979
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-979
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> Currently the simple language does not support constant expressions, that actually is useable in the file component that uses simple language to set file names
> So if an end-user want to produce a file with a fixed name, then its not possible
> {code}
> expression=MyBigFile.txt 
> {code}
> Is not possible.
> But this is:
> {code}
> expression=MyBigFile-${header.foo}.txt 
> {code}
> is as there is a ${} placeholder and then the simple language can evaluate it.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-979) FileLanguage - to support constant expressions

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-979:
---------------------------------

    Assignee: Claus Ibsen

> FileLanguage - to support constant expressions
> ----------------------------------------------
>
>                 Key: CAMEL-979
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-979
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> Currently the simple language does not support constant expressions, that actually is useable in the file component that uses simple language to set file names
> So if an end-user want to produce a file with a fixed name, then its not possible
> {code}
> expression=MyBigFile.txt 
> {code}
> Is not possible.
> But this is:
> {code}
> expression=MyBigFile-${header.foo}.txt 
> {code}
> is as there is a ${} placeholder and then the simple language can evaluate it.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-979) SimpleLanguage - to support constant expressions

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46379#action_46379 ] 

Claus Ibsen commented on CAMEL-979:
-----------------------------------

The problem is to determine if its an error or not if an end user enters

{code}
in.heder.foo
{code}
That was supposed to be:
{code}
in.header.foo
{code}

Currently you get an Exception.

> SimpleLanguage - to support constant expressions
> ------------------------------------------------
>
>                 Key: CAMEL-979
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-979
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>
> Currently the simple language does not support constant expressions, that actually is useable in the file component that uses simple language to set file names
> So if an end-user want to produce a file with a fixed name, then its not possible
> {code}
> expression=MyBigFile.txt 
> {code}
> Is not possible.
> But this is:
> {code}
> expression=MyBigFile-${header.foo}.txt 
> {code}
> is as there is a ${} placeholder and then the simple language can evaluate it.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-979) FileLanguage - to support constant expressions

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-979:
------------------------------

    Summary: FileLanguage - to support constant expressions  (was: SimpleLanguage - to support constant expressions)

Moving the FileLanguage so we can preserve the current behavior of simple language

> FileLanguage - to support constant expressions
> ----------------------------------------------
>
>                 Key: CAMEL-979
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-979
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>
> Currently the simple language does not support constant expressions, that actually is useable in the file component that uses simple language to set file names
> So if an end-user want to produce a file with a fixed name, then its not possible
> {code}
> expression=MyBigFile.txt 
> {code}
> Is not possible.
> But this is:
> {code}
> expression=MyBigFile-${header.foo}.txt 
> {code}
> is as there is a ${} placeholder and then the simple language can evaluate it.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.