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

camel-ibatis - Option to control the iBatis operation used so we can use it like camel-jdbc or camel-sql

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 2.0-M1
    • Fix Version/s: 1.6.1, 2.0-M2
    • Component/s: camel-ibatis
    • Labels:
      None

      Description

      In a route like this

      from("xxx")
         .to("ibatis:selectOrderById")
         .to("bean:handleOrder")
      

      Does not work as the current codebase expects to insert data when you produce data to it (or select all if body is null). This is kinda odd behavior.

      So what we need is a new option to specify which operation on SqlMapClient to invoke

      • queryForObject
      • queryForList
      • insert
      • update
      • delete

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: