Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20391

camel-core - All languages should support expression loaded from external resource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.4.0
    • camel-core
    • None
    • Unknown

    Description

      This is done if you use languages in Camel routes and created via reifiers. But if you do this manually then the resources is not loaded.

      For example with camel-jq you have error

      Exception m(ExpressionIllegalSyntaxException) Illegal syntax: resource:file:template.jq
      org.apache.camel.ExpressionIllegalSyntaxException: Illegal syntax: resource:file:template.jq
      at org.apache.camel.language.jq.JqExpression.init(JqExpression.java:77)
      at org.apache.camel.language.jq.JqLanguage.createExpression(JqLanguage.java:64)
      at org.apache.camel.support.SingleInputTypedLanguageSupport.createExpression(SingleInputTypedLanguageSupport.java:58)
      at org.apache.camel.support.SingleInputTypedLanguageSupport.createExpression(SingleInputTypedLanguageSupport.java:37)

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: