Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5453

beginner/camel-log example uses invalid timer value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Examples
    • None
    • % %
    • Sprint 6 - towards CR1

    Description

      While testing the quickstarts against the latest Mars-based Fuse Camel tooling, I discovered that the camel-log quickstart has a value of "timer:foo?period=5s" which is invalid according to the validation rules and the docs.

      https://github.com/jboss-fuse/quickstarts/blob/master/beginner/camel-log/src/main/resources/OSGI-INF/blueprint/camel-log.xml#L47

      According to the Camel documentation it appears the value should be "timer:foo?period=5000" for a 5 second wait. http://camel.apache.org/timer.html

      When it is "5s" you see a validation error in the tooling now that says "The parameter period requires a numeric value."

      This is a minor issue, but may trip up new users.

      Attachments

        Issue Links

          Activity

            People

              acosenti Andrea Cosentino
              bfitzpat_rh Brian Fitzpatrick (Inactive)
              Jan Kasztura Jan Kasztura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: