Claus Ibsen created CAMEL-20391:
-----------------------------------

             Summary: camel-core - All languages should support expression 
loaded from external resource
                 Key: CAMEL-20391
                 URL: https://issues.apache.org/jira/browse/CAMEL-20391
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.4.0


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)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to