Interface MyBatisBeanEndpointBuilderFactory.MyBatisBeanBuilders

    • Method Detail

      • mybatisBean

        default MyBatisBeanEndpointBuilderFactory.MyBatisBeanEndpointBuilder mybatisBean​(String path)
        MyBatis Bean (camel-mybatis) Perform queries, inserts, updates or deletes in a relational database using MyBatis. Category: database,sql Since: 2.22 Maven coordinates: org.apache.camel:camel-mybatis Syntax: mybatis-bean:beanName:methodName Path parameter: beanName (required) Name of the bean with the MyBatis annotations. This can either by a type alias or a FQN class name. Path parameter: methodName (required) Name of the method on the bean that has the SQL query to be executed.
        Parameters:
        path - beanName:methodName
        Returns:
        the dsl builder
      • mybatisBean

        default MyBatisBeanEndpointBuilderFactory.MyBatisBeanEndpointBuilder mybatisBean​(String componentName,
                                                                                         String path)
        MyBatis Bean (camel-mybatis) Perform queries, inserts, updates or deletes in a relational database using MyBatis. Category: database,sql Since: 2.22 Maven coordinates: org.apache.camel:camel-mybatis Syntax: mybatis-bean:beanName:methodName Path parameter: beanName (required) Name of the bean with the MyBatis annotations. This can either by a type alias or a FQN class name. Path parameter: methodName (required) Name of the method on the bean that has the SQL query to be executed.
        Parameters:
        componentName - to use a custom component name for the endpoint instead of the default name
        path - beanName:methodName
        Returns:
        the dsl builder