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/13 12:10:26 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reopened CAMEL-10700:
---------------------------------

> 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)