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

camel-maven - validate simple predicates and property placeholders

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.2, 2.19.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

      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)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: