Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1820

Support for human friendly syntax when editing time periods

XMLWordPrintable

    • Workaround Exists
    • Hide

      Don't use the human friendly definitions but stay with the numeric values.

      Show
      Don't use the human friendly definitions but stay with the numeric values.

      Following is valid blueprint camel route

      <?xml version="1.0" encoding="UTF-8"?>
      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
          xmlns:camel="http://camel.apache.org/schema/blueprint"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd        http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
          <camelContext id="camelContext-4a46aa67-a13b-4f37-a60f-371c3aef298b"
              trace="false" xmlns="http://camel.apache.org/schema/blueprint">
              <route id="timedRoute">
                  <!-- here, period=3s -->
                  <from id="_from1" uri="timer:testRoute?period=3s"/>
                  <log id="_log1" message="message in route"/>
              </route>
          </camelContext>
      </blueprint>
      

      but Eclispe reports it as error

      The parameter period requires a numeric value.	timerroute.xml	/blueprint-camel-drools-decision-table/src/main/resources/OSGI-INF/blueprint	line 8	JBoss Fuse Tooling Validation Problem
      

              lheinema@redhat.com Lars Heinemann
              jludvice Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: