You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Xueqiang Mi (JIRA)" <ji...@apache.org> on 2009/06/29 08:56:06 UTC

[jira] Created: (CAMEL-1769) ExpressionDefinition can not be able to render in web console

ExpressionDefinition can not be able to render in web console
-------------------------------------------------------------

                 Key: CAMEL-1769
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1769
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
            Reporter: Xueqiang Mi


When add a route with groovy expression, camelcontext can't provide some readable information to render the route.

For example, when adding a route, the ExpressionDefinition can convert header("foo").isEqualTo("bar") to {header(foo) == bar}, which can be used in groovy renderer easily. But when we save the route with the sentence {header(foo) == bar}, the ExpressionDefinition can not convert it to a readable expression this time. It only reply a {Groovy[GroovyRoute$_configure_closure1@9c7307]} when request the expression.

The ExpressionDefinition do the following convertions:
          java fluent expression  ------------->  groovy style experssion
          groovy style expression ------------>  un-readable built-in groovy closure
So we can't render the groovy expression in web console. Maybe we should store some expressions when receiving a route with groovy expressions.

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


[jira] Commented: (CAMEL-1769) ExpressionDefinition can not be able to render in web console

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

Claus Ibsen commented on CAMEL-1769:
------------------------------------

We are trimming camel-web and therefore the groovy editor is either removed or moved to an optional component.

If we remove the groovy editor then this bug can be closed with wont fix.
However there are a good chance for this, as the camel team can't maintain the groovy editor and its not much in demand.

> ExpressionDefinition can not be able to render in web console
> -------------------------------------------------------------
>
>                 Key: CAMEL-1769
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1769
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Xueqiang Mi
>            Priority: Minor
>             Fix For: Future
>
>
> When add a route with groovy expression, camelcontext can't provide some readable information to render the route.
> For example, when adding a route, the ExpressionDefinition can convert header("foo").isEqualTo("bar") to {header(foo) == bar}, which can be used in groovy renderer easily. But when we save the route with the sentence {header(foo) == bar}, the ExpressionDefinition can not convert it to a readable expression this time. It only reply a {Groovy[GroovyRoute$_configure_closure1@9c7307]} when request the expression.
> The ExpressionDefinition do the following convertions:
>           java fluent expression  ------------->  groovy style experssion
>           groovy style expression ------------>  un-readable built-in groovy closure
> So we can't render the groovy expression in web console. Maybe we should store some expressions when receiving a route with groovy expressions.

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


[jira] Resolved: (CAMEL-1769) ExpressionDefinition can not be able to render in web console

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

Claus Ibsen resolved CAMEL-1769.
--------------------------------

         Assignee: Claus Ibsen
    Fix Version/s: 2.5.0
                       (was: Future)
       Resolution: Won't Fix

We have removed the groovy editor from camel-web.

> ExpressionDefinition can not be able to render in web console
> -------------------------------------------------------------
>
>                 Key: CAMEL-1769
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1769
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Xueqiang Mi
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> When add a route with groovy expression, camelcontext can't provide some readable information to render the route.
> For example, when adding a route, the ExpressionDefinition can convert header("foo").isEqualTo("bar") to {header(foo) == bar}, which can be used in groovy renderer easily. But when we save the route with the sentence {header(foo) == bar}, the ExpressionDefinition can not convert it to a readable expression this time. It only reply a {Groovy[GroovyRoute$_configure_closure1@9c7307]} when request the expression.
> The ExpressionDefinition do the following convertions:
>           java fluent expression  ------------->  groovy style experssion
>           groovy style expression ------------>  un-readable built-in groovy closure
> So we can't render the groovy expression in web console. Maybe we should store some expressions when receiving a route with groovy expressions.

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


[jira] Updated: (CAMEL-1769) ExpressionDefinition can not be able to render in web console

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

Claus Ibsen updated CAMEL-1769:
-------------------------------

    Fix Version/s: Future

> ExpressionDefinition can not be able to render in web console
> -------------------------------------------------------------
>
>                 Key: CAMEL-1769
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1769
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Xueqiang Mi
>             Fix For: Future
>
>
> When add a route with groovy expression, camelcontext can't provide some readable information to render the route.
> For example, when adding a route, the ExpressionDefinition can convert header("foo").isEqualTo("bar") to {header(foo) == bar}, which can be used in groovy renderer easily. But when we save the route with the sentence {header(foo) == bar}, the ExpressionDefinition can not convert it to a readable expression this time. It only reply a {Groovy[GroovyRoute$_configure_closure1@9c7307]} when request the expression.
> The ExpressionDefinition do the following convertions:
>           java fluent expression  ------------->  groovy style experssion
>           groovy style expression ------------>  un-readable built-in groovy closure
> So we can't render the groovy expression in web console. Maybe we should store some expressions when receiving a route with groovy expressions.

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


[jira] Updated: (CAMEL-1769) ExpressionDefinition can not be able to render in web console

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

Claus Ibsen updated CAMEL-1769:
-------------------------------

    Priority: Minor  (was: Major)

> ExpressionDefinition can not be able to render in web console
> -------------------------------------------------------------
>
>                 Key: CAMEL-1769
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1769
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Xueqiang Mi
>            Priority: Minor
>             Fix For: Future
>
>
> When add a route with groovy expression, camelcontext can't provide some readable information to render the route.
> For example, when adding a route, the ExpressionDefinition can convert header("foo").isEqualTo("bar") to {header(foo) == bar}, which can be used in groovy renderer easily. But when we save the route with the sentence {header(foo) == bar}, the ExpressionDefinition can not convert it to a readable expression this time. It only reply a {Groovy[GroovyRoute$_configure_closure1@9c7307]} when request the expression.
> The ExpressionDefinition do the following convertions:
>           java fluent expression  ------------->  groovy style experssion
>           groovy style expression ------------>  un-readable built-in groovy closure
> So we can't render the groovy expression in web console. Maybe we should store some expressions when receiving a route with groovy expressions.

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