You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gansheer (via GitHub)" <gi...@apache.org> on 2023/08/23 12:40:40 UTC

[GitHub] [camel-quarkus] gansheer opened a new issue, #5217: Add documentation on usage of Camel simple expression in configuring property

gansheer opened a new issue, #5217:
URL: https://github.com/apache/camel-quarkus/issues/5217

   ### Description
   
   The documentation lack some explanation on how to use a [Camel Simple Expression](https://camel.apache.org/components/4.0.x/languages/simple-language.html) in a configuration property in the `application.properties` file.
    
   Adding a section in the [user guide](https://github.com/apache/camel-quarkus/blob/main/docs/modules/ROOT/pages/user-guide/configuration.adoc) to  using a config property for a Camel simple expression and explaining that expressions like `${body}` need special treatment (E.g using the raw value) would be very helpful.
   
   As an example:
   * this is a valid expression embedded as a parameter in the route: `expression: "${body} contains 'not_in'"`
   * this is the same valid expression as a property: `myexpression=\\${body} contains 'not_in'`
   
   
   Note: this is a follow up of this [discussion on zulip](https://camel.zulipchat.com/#narrow/stream/257302-camel-quarkus/topic/.E2.9C.94.20Kamelet.20simple-filter-action.20configuration).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org