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

    Details

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rcernich Rob Cernich
                  Reporter:
                  trohovsky Tomas Rohovsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: