Bug 1158406

Summary: Use consumer.delay and consumer.initialDelay instead of the internal timer in the SQL binding
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Tomas Rohovsky <trohovsk>
Component: Configuration, SwitchYardAssignee: Julian Coleman <jcoleman>
Status: MODIFIED --- QA Contact: Matej Melko <mmelko>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: kejohnso, ldimaggi, oskutka, rcernich, soa-p-jira
Target Milestone: DR4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Rohovsky 2014-10-29 10:17:40 UTC
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

Comment 1 JBoss JIRA Server 2014-12-10 18:27:23 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-2433 to Closed

Comment 2 JBoss JIRA Server 2014-12-10 18:27:55 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-2433 to Reopened

Comment 3 JBoss JIRA Server 2014-12-10 18:28:07 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-2433 to Resolved