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 2009/11/25 10:30:52 UTC

[jira] Created: (CAMEL-2226) Merge File and Simple language or let Simple be File language by default

Merge File and Simple language or let Simple be File language by default
------------------------------------------------------------------------

                 Key: CAMEL-2226
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2226
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0.0, 2.1.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.2.0


This will allow people to use file language in CBR as well

{code:xml}
<choice>
   <when><simple>${file:ext} == 'xml'</simple><to uri="bean:foo?method=xmlFile"/>
   <when><simple>${file:ext} == 'txt'</simple><to uri="bean:foo?method=txtFile"/>
</choice>
{code}


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


[jira] Resolved: (CAMEL-2226) Merge File and Simple language or let Simple be File language by default

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

Claus Ibsen resolved CAMEL-2226.
--------------------------------

    Resolution: Fixed

trunk: 888284

> Merge File and Simple language or let Simple be File language by default
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-2226
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2226
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> This will allow people to use file language in CBR as well
> {code:xml}
> <choice>
>    <when><simple>${file:ext} == 'xml'</simple><to uri="bean:foo?method=xmlFile"/>
>    <when><simple>${file:ext} == 'txt'</simple><to uri="bean:foo?method=txtFile"/>
> </choice>
> {code}

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