Interface MyBatisEndpointBuilderFactory.MyBatisEndpointProducerBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
All Known Subinterfaces:
MyBatisEndpointBuilderFactory.MyBatisEndpointBuilder
Enclosing interface:
MyBatisEndpointBuilderFactory

public static interface MyBatisEndpointBuilderFactory.MyBatisEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the MyBatis component.
  • Method Details

    • advanced

    • executorType

      default MyBatisEndpointBuilderFactory.MyBatisEndpointProducerBuilder executorType(org.apache.ibatis.session.ExecutorType executorType)
      The executor type to be used while executing statements. simple - executor does nothing special. reuse - executor reuses prepared statements. batch - executor reuses statements and batches updates. The option is a: <code>org.apache.ibatis.session.ExecutorType</code> type. Default: SIMPLE Group: producer
      Parameters:
      executorType - the value to set
      Returns:
      the dsl builder
    • executorType

      The executor type to be used while executing statements. simple - executor does nothing special. reuse - executor reuses prepared statements. batch - executor reuses statements and batches updates. The option will be converted to a <code>org.apache.ibatis.session.ExecutorType</code> type. Default: SIMPLE Group: producer
      Parameters:
      executorType - the value to set
      Returns:
      the dsl builder
    • inputHeader

      User the header value for input parameters instead of the message body. By default, inputHeader == null and the input parameters are taken from the message body. If outputHeader is set, the value is used and query parameters will be taken from the header instead of the body. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      inputHeader - the value to set
      Returns:
      the dsl builder
    • outputHeader

      Store the query result in a header instead of the message body. By default, outputHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. Setting outputHeader will also omit populating the default CamelMyBatisResult header since it would be the same as outputHeader all the time. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      outputHeader - the value to set
      Returns:
      the dsl builder
    • statementType

      default MyBatisEndpointBuilderFactory.MyBatisEndpointProducerBuilder statementType(org.apache.camel.component.mybatis.StatementType statementType)
      Mandatory to specify for the producer to control which kind of operation to invoke. The option is a: <code>org.apache.camel.component.mybatis.StatementType</code> type. Group: producer
      Parameters:
      statementType - the value to set
      Returns:
      the dsl builder
    • statementType

      Mandatory to specify for the producer to control which kind of operation to invoke. The option will be converted to a <code>org.apache.camel.component.mybatis.StatementType</code> type. Group: producer
      Parameters:
      statementType - the value to set
      Returns:
      the dsl builder