Class OpensearchConfiguration

java.lang.Object
org.apache.camel.component.opensearch.OpensearchConfiguration

@UriParams public class OpensearchConfiguration extends Object
  • Constructor Details

    • OpensearchConfiguration

      public OpensearchConfiguration()
  • Method Details

    • getFrom

      public Integer getFrom()
      Starting index of the response.
    • setFrom

      public void setFrom(Integer from)
    • getSize

      public Integer getSize()
      Size of the response.
    • setSize

      public void setSize(Integer size)
    • getClusterName

      public String getClusterName()
      Name of the cluster
    • setClusterName

      public void setClusterName(String clusterName)
    • getOperation

      public OpensearchOperation getOperation()
      What operation to perform
    • setOperation

      public void setOperation(OpensearchOperation operation)
    • getIndexName

      public String getIndexName()
      The name of the index to act against
    • setIndexName

      public void setIndexName(String indexName)
    • getHostAddresses

      public String getHostAddresses()
      Comma separated list with ip:port formatted remote transport addresses to use.
    • setHostAddresses

      public void setHostAddresses(String hostAddresses)
    • getWaitForActiveShards

      public int getWaitForActiveShards()
      Index creation waits for the write consistency number of shards to be available
    • setWaitForActiveShards

      public void setWaitForActiveShards(int waitForActiveShards)
    • getHostAddressesList

      public List<org.apache.http.HttpHost> getHostAddressesList()
    • setHostAddressesList

      public void setHostAddressesList(List<org.apache.http.HttpHost> hostAddressesList)
    • getSocketTimeout

      public int getSocketTimeout()
      The timeout in ms to wait before the socket will timeout.
    • setSocketTimeout

      public void setSocketTimeout(int socketTimeout)
    • getConnectionTimeout

      public int getConnectionTimeout()
      The time in ms to wait before connection will timeout.
    • setConnectionTimeout

      public void setConnectionTimeout(int connectionTimeout)
    • getUser

      public String getUser()
      Basic authenticate user
    • setUser

      public void setUser(String user)
    • getPassword

      public String getPassword()
      Password for authenticate
    • setPassword

      public void setPassword(String password)
    • isEnableSSL

      public boolean isEnableSSL()
      Enable SSL
    • setEnableSSL

      public void setEnableSSL(boolean enableSSL)
    • getCertificatePath

      public String getCertificatePath()
      The certificate that can be used to access the ES Cluster. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.
    • setCertificatePath

      public void setCertificatePath(String certificatePath)
    • getMaxRetryTimeout

      public int getMaxRetryTimeout()
      The time in ms before retry
    • setMaxRetryTimeout

      public void setMaxRetryTimeout(int maxRetryTimeout)
    • isDisconnect

      public boolean isDisconnect()
      Disconnect after it finish calling the producer
    • setDisconnect

      public void setDisconnect(boolean disconnect)
    • isEnableSniffer

      public boolean isEnableSniffer()
      Enable automatically discover nodes from a running OpenSearch cluster. If this option is used in conjunction with Spring Boot then it's managed by the Spring Boot configuration (see: Disable Sniffer in Spring Boot).
    • setEnableSniffer

      public void setEnableSniffer(boolean enableSniffer)
    • getSnifferInterval

      public int getSnifferInterval()
      The interval between consecutive ordinary sniff executions in milliseconds. Will be honoured when sniffOnFailure is disabled or when there are no failures between consecutive sniff executions
    • setSnifferInterval

      public void setSnifferInterval(int snifferInterval)
    • getSniffAfterFailureDelay

      public int getSniffAfterFailureDelay()
      The delay of a sniff execution scheduled after a failure (in milliseconds)
    • setSniffAfterFailureDelay

      public void setSniffAfterFailureDelay(int sniffAfterFailureDelay)
    • isUseScroll

      public boolean isUseScroll()
      Enable scroll usage
    • setUseScroll

      public void setUseScroll(boolean useScroll)
    • getScrollKeepAliveMs

      public int getScrollKeepAliveMs()
      Time in ms during which OpenSearch will keep search context alive
    • setScrollKeepAliveMs

      public void setScrollKeepAliveMs(int scrollKeepAliveMs)
    • getDocumentClass

      public Class<?> getDocumentClass()
      The class to use when deserializing the documents.
    • setDocumentClass

      public void setDocumentClass(Class<?> documentClass)