Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2433

Use consumer.delay and consumer.initialDelay instead of the internal timer in the SQL binding

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • Major
    • Resolution: Done
    • 2.0
    • 2.0
    • None

    Description

      Camel came with consumer.delay and consumer.initialDelay in the version 2.11 [1]. It would be better to use the built-in timer provided by the SQL component instead of the separate timer component [2].

      The tooling will possibly require changes. Period/consumer.delay should be optional, so the tooling should not require it.

      timerName is useless in the configuration, so it should be removed. [3]

      [1] http://camel.apache.org/sql-component.html
      [2] https://github.com/jboss-switchyard/components/blob/master/camel/camel-sql/src/main/java/org/switchyard/component/camel/sql/model/v1/V1CamelSqlBindingModel.java#L134
      [3] https://github.com/jboss-switchyard/components/blob/master/camel/camel-sql/src/main/resources/org/switchyard/component/camel/sql/model/v2/camel-sql_2_0.xsd#L34

      Attachments

        Issue Links

          Activity

            People

              rcernich1 Rob Cernich
              trohovsky Tomas Rohovsky (Inactive)
              Archiver:
              ranumula@redhat.com Raju Anumula

              Dates

                Created:
                Updated:
                Resolved:
                Archived: