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

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0, 2.0-M1
    • 1.6.1, 2.0-M2
    • camel-ibatis
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: