You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/01/12 11:44:52 UTC

[jira] [Created] (CAMEL-10700) camel-maven - validate simple predicates and property placeholders

Claus Ibsen created CAMEL-10700:
-----------------------------------

             Summary: camel-maven - validate simple predicates and property placeholders
                 Key: CAMEL-10700
                 URL: https://issues.apache.org/jira/browse/CAMEL-10700
             Project: Camel
          Issue Type: Improvement
          Components: tooling
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.19.0


Because we cannot resolve property placeholders at design time we need a way to let the simple parser deal with having {{ }} in the string. As you get this kind of error today

{code}
davsclaus:/Users/davsclaus/workspace/camel/examples/camel-example-cdi-xml (master)/$ mvn camel:validate
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Example :: CDI :: Camel XML 2.19.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- camel-maven-plugin:2.19.0-SNAPSHOT:validate (default-cli) @ camel-example-cdi-xml ---
[INFO] Using Camel version: 2.19.0-SNAPSHOT
[INFO] Endpoint validation success: (5 = passed, 0 = invalid, 0 = incapable, 0 = unknown components)
[WARNING] Simple validation error at: camel-context(camel-context.xml:44)

	functionEnd has no matching start token at location 21
	${body} == '{{poison}}'
	                     *

[WARNING] Simple validation error: (0 = passed, 1 = invalid)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)