Interface StitchComponentBuilderFactory.StitchComponentBuilder

All Superinterfaces:
ComponentBuilder<org.apache.camel.component.stitch.StitchComponent>
All Known Implementing Classes:
StitchComponentBuilderFactory.StitchComponentBuilderImpl
Enclosing interface:
StitchComponentBuilderFactory

public static interface StitchComponentBuilderFactory.StitchComponentBuilder extends ComponentBuilder<org.apache.camel.component.stitch.StitchComponent>
Builder for the Stitch component.
  • Method Details

    • configuration

      default StitchComponentBuilderFactory.StitchComponentBuilder configuration(org.apache.camel.component.stitch.StitchConfiguration configuration)
      The component configurations. The option is a: <code>org.apache.camel.component.stitch.StitchConfiguration</code> type. Group: producer
      Parameters:
      configuration - the value to set
      Returns:
      the dsl builder
    • keyNames

      A collection of comma separated strings representing the Primary Key fields in the source table. Stitch use these Primary Keys to de-dupe data during loading If not provided, the table will be loaded in an append-only manner. The option is a: <code>java.lang.String</code> type. Group: producer
      Parameters:
      keyNames - the value to set
      Returns:
      the dsl builder
    • lazyStartProducer

      default StitchComponentBuilderFactory.StitchComponentBuilder lazyStartProducer(boolean lazyStartProducer)
      Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • region

      default StitchComponentBuilderFactory.StitchComponentBuilder region(org.apache.camel.component.stitch.client.StitchRegion region)
      Stitch account region, e.g: europe. The option is a: <code>org.apache.camel.component.stitch.client.StitchRegion</code> type. Default: EUROPE Group: producer
      Parameters:
      region - the value to set
      Returns:
      the dsl builder
    • stitchSchema

      default StitchComponentBuilderFactory.StitchComponentBuilder stitchSchema(org.apache.camel.component.stitch.client.models.StitchSchema stitchSchema)
      A schema that describes the record(s). The option is a: <code>org.apache.camel.component.stitch.client.models.StitchSchema</code> type. Group: producer
      Parameters:
      stitchSchema - the value to set
      Returns:
      the dsl builder
    • connectionProvider

      default StitchComponentBuilderFactory.StitchComponentBuilder connectionProvider(reactor.netty.resources.ConnectionProvider connectionProvider)
      ConnectionProvider contain configuration for the HttpClient like Maximum connection limit .. etc, you can inject this ConnectionProvider and the StitchClient will initialize HttpClient with this ConnectionProvider. The option is a: <code>reactor.netty.resources.ConnectionProvider</code> type. Group: producer (advanced)
      Parameters:
      connectionProvider - the value to set
      Returns:
      the dsl builder
    • httpClient

      default StitchComponentBuilderFactory.StitchComponentBuilder httpClient(reactor.netty.http.client.HttpClient httpClient)
      Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient. The option is a: <code>reactor.netty.http.client.HttpClient</code> type. Group: producer (advanced)
      Parameters:
      httpClient - the value to set
      Returns:
      the dsl builder
    • autowiredEnabled

      default StitchComponentBuilderFactory.StitchComponentBuilder autowiredEnabled(boolean autowiredEnabled)
      Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
      Parameters:
      autowiredEnabled - the value to set
      Returns:
      the dsl builder
    • stitchClient

      default StitchComponentBuilderFactory.StitchComponentBuilder stitchClient(org.apache.camel.component.stitch.client.StitchClient stitchClient)
      Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface. The option is a: <code>org.apache.camel.component.stitch.client.StitchClient</code> type. Group: advanced
      Parameters:
      stitchClient - the value to set
      Returns:
      the dsl builder
    • token

      Stitch access token for the Stitch Import API. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      token - the value to set
      Returns:
      the dsl builder