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

Camel Master Component Ignoring parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.3, 7.1.1, M1
    • fuse-esb-7.1.0
    • None
    • None
    • % %

      I have a test case using a simple route inside a fabric:

        <from uri="master:FD:timer://foo?period=30000"/> or
        <from uri="master:FD:timer:foo?period=30000"/>
      

      The route kicks off just fine, however, the period option is ignored. This route runs ever second.
      Dropping the master syntax, I can see the timer work correctly, i.e

      <!--from uri="timer://foo?period=30s"/-->
      

      Test Case
      1. Created new fabric - fabric:create --clean
      2. Changed the demo we shipped in 4.4.1 for osgi, attached as it just has one route in it now.
      3. 2. Used FMC to add camel to root profile and create a new profile. On the new profile added my bundle:

      mvn:org.apache.servicemix.examples/camel-osgi/4.4.1-fuse-08-15/

      4. Output of camel-route:display looks good:

      FuseESB:karaf@root> camel:route-show route1 
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <route id="route1" xmlns="http://camel.apache.org/schema/spring">
          <from uri="master:FD:timer://foo?period=30000"/>
          <bean ref="myTransform" method="transform" id="bean3"/>
          <to uri="log:ExampleRouter" id="to3"/>
      </route>
      

            willem.jiang Willem Jiang (Inactive)
            rhn-support-sjavurek Susan Javurek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: