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

query timeout not working in JDBC or SQL component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.23.1
    • None
    • camel-jdbc, camel-sql
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: