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

camel-sql | sql-stored component queryTimeout option not present

XMLWordPrintable

    • False
    • False
    • % %
    • Todo
    • Undefined
    • Hide

      configure camel-sql sql-stored component with following query params (template.queryTimeout) and resultant errors:

      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}

      ]

      Show
      configure camel-sql sql-stored component with following query params (template.queryTimeout) and resultant errors: 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} ]

      Customer created camel-sql sql-stored component enhancement request with the community, https://issues.apache.org/jira/browse/CAMEL-16405.

      From customer, "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 affects customer on Fuse 7.6, camel 2.23.2, also affects latest versions.

              jondruse@redhat.com Jiri Ondrusek
              rdorobek@redhat.com Russell Dorobek
              Stefan Veres Stefan Veres (Inactive)
              Branislav Smolicek
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: