camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10700) camel-maven - validate simple predicates and property placeholders
Date Fri, 13 Jan 2017 17:03:26 GMT

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

Claus Ibsen resolved CAMEL-10700.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.18.2

> 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.18.2, 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)

Mime
View raw message