Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14402

query timeout not working in JDBC or SQL component

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.23.1
    • Fix Version/s: None
    • Component/s: camel-jdbc, camel-sql
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Hi Team,

      I am using camel version: 2.23.1

      Query timeout not working in both JDBC or SQL component.

      for jdbc: i tried passing timeout value a  jdbc:dataSource?statement.queryTimeout=1&statement.maxRows=0

       

      for sql: 

      i tried passing timeout value a  sql:quey?template.queryTimeout=1

       

      but if i set the socket timeout (defaultQueryTimeout) value in basic data source that works.but individual Statement query timeout is not working.

      please help me with this issue.

       

      Thanks,

      Shiva

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sgv007 shiva
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: