Class StitchConfiguration

java.lang.Object
org.apache.camel.component.stitch.StitchConfiguration
All Implemented Interfaces:
Cloneable

@UriParams public class StitchConfiguration extends Object implements Cloneable
  • Constructor Details

    • StitchConfiguration

      public StitchConfiguration()
  • Method Details

    • getTableName

      public String getTableName()
      The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destination's allowed limits or data will rejected.
    • setTableName

      public void setTableName(String tableName)
    • getToken

      public String getToken()
      Stitch access token for the Stitch Import API
    • setToken

      public void setToken(String token)
    • getRegion

      public StitchRegion getRegion()
      Stitch account region, e.g: europe
    • setRegion

      public void setRegion(StitchRegion region)
    • getStitchSchema

      public StitchSchema getStitchSchema()
      A schema that describes the record(s)
    • setStitchSchema

      public void setStitchSchema(StitchSchema stitchSchema)
    • getKeyNames

      public String getKeyNames()
      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.
    • setKeyNames

      public void setKeyNames(String keyNames)
    • getHttpClient

      public reactor.netty.http.client.HttpClient getHttpClient()
      Reactor Netty HttpClient, you can injected it if you want to have custom HttpClient
    • setHttpClient

      public void setHttpClient(reactor.netty.http.client.HttpClient httpClient)
    • getConnectionProvider

      public reactor.netty.resources.ConnectionProvider getConnectionProvider()
      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
    • setConnectionProvider

      public void setConnectionProvider(reactor.netty.resources.ConnectionProvider connectionProvider)
    • getStitchClient

      public StitchClient getStitchClient()
      Set a custom StitchClient that implements org.apache.camel.component.stitch.client.StitchClient interface
    • setStitchClient

      public void setStitchClient(StitchClient stitchClient)
    • copy

      public StitchConfiguration copy()