You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Anand Kumar (Jira)" <ji...@apache.org> on 2021/03/25 13:28:00 UTC
[jira] [Commented] (CAMEL-16405) camel-sql | sql-stored component
queryTimeout option not present
[ https://issues.apache.org/jira/browse/CAMEL-16405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308684#comment-17308684 ]
Anand Kumar commented on CAMEL-16405:
-------------------------------------
Getting below error. Tried with below approaches
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: *sql-stored://classpath:sql/stored-proc.sql?dataSource=%23dataSource&template.queryTimeout=3* due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[\{template.queryTimeout=3}]
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: *sql-stored://classpath:sql/stored-proc.sql?dataSource=%23dataSource&templateOptions.queryTimeout=3* due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[\{template.queryTimeout=3}]
> camel-sql | sql-stored component queryTimeout option not present
> ----------------------------------------------------------------
>
> Key: CAMEL-16405
> URL: https://issues.apache.org/jira/browse/CAMEL-16405
> Project: Camel
> Issue Type: Bug
> Components: camel-sql
> Affects Versions: 2.23.2
> Reporter: Anand Kumar
> Priority: Major
>
> Hi
> we are trying queryTimeout for sql-stored component.
> For each sql-stored component call, we wanted to set queryTImeout but not able to achieve as queryTimeout option not available as options
--
This message was sent by Atlassian Jira
(v8.3.4#803005)