You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "David Valeri (JIRA)" <ji...@apache.org> on 2011/04/22 19:32:05 UTC

[jira] [Created] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

Support OGNL in simple expression language for exchange properties
------------------------------------------------------------------

                 Key: CAMEL-3893
                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: David Valeri
         Attachments: CAMEL-3893.patch

The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.

For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

David Valeri updated CAMEL-3893:
--------------------------------

    Attachment: CAMEL-3893.patch

Changed the property name in the patch as requested.

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

Claus Ibsen reassigned CAMEL-3893:
----------------------------------

    Assignee: David Valeri

David I upgraded your JIRA account so you can assign tickets to yourself. I will review and commit your patch for this ticket.

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>            Assignee: David Valeri
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3893.patch, CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

Claus Ibsen updated CAMEL-3893:
-------------------------------

    Fix Version/s: 2.8.0

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

David Valeri updated CAMEL-3893:
--------------------------------

    Attachment: CAMEL-3893.patch

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>         Attachments: CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

Claus Ibsen commented on CAMEL-3893:
------------------------------------

In ExchangeTestSupport please do not also add a property with the same key as the header. Please use another key name and adjust the tests accordingly.

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>         Attachments: CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

David Valeri updated CAMEL-3893:
--------------------------------

    Attachment: CAMEL-3893.patch

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3893.patch, CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

David Valeri updated CAMEL-3893:
--------------------------------

    Attachment:     (was: CAMEL-3893.patch)

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-3893) Support OGNL in simple expression language for exchange properties

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

Claus Ibsen resolved CAMEL-3893.
--------------------------------

    Resolution: Fixed

Thanks David. I have also updated the wiki page.

> Support OGNL in simple expression language for exchange properties
> ------------------------------------------------------------------
>
>                 Key: CAMEL-3893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3893
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: David Valeri
>            Assignee: David Valeri
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3893.patch, CAMEL-3893.patch
>
>
> The log DSL is convenient for user-facing logging; however, it only supports the simple expression language.  There are cases where it is desirable to log the results of a method invocation on an exchange property.  The simple expression language currently supports OGNL on message headers but not on exchange properties.  The OGNL support for message headers should also be available for exchange properties.
> For example: ${property.wicket[cool]} should be allowable in addition to the currently supported simple expression capabilities.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira