Class SalesforceComponent

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.SSLContextParametersAware, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

    @Metadata(label="verifiers",
              enums="parameters,connectivity")
    @Component("salesforce")
    public class SalesforceComponent
    extends org.apache.camel.support.DefaultComponent
    implements org.apache.camel.SSLContextParametersAware
    Represents the component that manages SalesforceEndpoint.
    • Constructor Detail

      • SalesforceComponent

        public SalesforceComponent()
      • SalesforceComponent

        public SalesforceComponent​(org.apache.camel.CamelContext context)
    • Method Detail

      • createEndpoint

        protected org.apache.camel.Endpoint createEndpoint​(String uri,
                                                           String remaining,
                                                           Map<String,​Object> parameters)
                                                    throws Exception
        Specified by:
        createEndpoint in class org.apache.camel.support.DefaultComponent
        Throws:
        Exception
      • doBuild

        protected void doBuild()
                        throws Exception
        Overrides:
        doBuild in class org.apache.camel.support.DefaultComponent
        Throws:
        Exception
      • doStart

        protected void doStart()
                        throws Exception
        Overrides:
        doStart in class org.apache.camel.support.DefaultComponent
        Throws:
        Exception
      • doStop

        protected void doStop()
                       throws Exception
        Overrides:
        doStop in class org.apache.camel.support.DefaultComponent
        Throws:
        Exception
      • setAuthenticationType

        public void setAuthenticationType​(AuthenticationType authenticationType)
      • setInstanceUrl

        public void setInstanceUrl​(String instanceUrl)
      • getInstanceUrl

        public String getInstanceUrl()
      • getLoginUrl

        public String getLoginUrl()
      • setLoginUrl

        public void setLoginUrl​(String loginUrl)
      • getClientId

        public String getClientId()
      • setClientId

        public void setClientId​(String clientId)
      • getClientSecret

        public String getClientSecret()
      • setClientSecret

        public void setClientSecret​(String clientSecret)
      • setKeystore

        public void setKeystore​(org.apache.camel.support.jsse.KeyStoreParameters keystore)
      • getKeystore

        public org.apache.camel.support.jsse.KeyStoreParameters getKeystore()
      • getJwtAudience

        public String getJwtAudience()
      • setJwtAudience

        public void setJwtAudience​(String jwtAudience)
      • getRefreshToken

        public String getRefreshToken()
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • getUserName

        public String getUserName()
      • setUserName

        public void setUserName​(String userName)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • isLazyLogin

        public boolean isLazyLogin()
      • setLazyLogin

        public void setLazyLogin​(boolean lazyLogin)
      • getHttpClientProperties

        public Map<String,​Object> getHttpClientProperties()
      • setHttpClientProperties

        public void setHttpClientProperties​(Map<String,​Object> httpClientProperties)
      • getLongPollingTransportProperties

        public Map<String,​Object> getLongPollingTransportProperties()
      • setLongPollingTransportProperties

        public void setLongPollingTransportProperties​(Map<String,​Object> longPollingTransportProperties)
      • getSslContextParameters

        public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
      • setSslContextParameters

        public void setSslContextParameters​(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
      • isUseGlobalSslContextParameters

        public boolean isUseGlobalSslContextParameters()
        Specified by:
        isUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAware
      • setUseGlobalSslContextParameters

        public void setUseGlobalSslContextParameters​(boolean useGlobalSslContextParameters)
        Specified by:
        setUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAware
      • getHttpClientIdleTimeout

        public long getHttpClientIdleTimeout()
      • setHttpClientIdleTimeout

        public void setHttpClientIdleTimeout​(long httpClientIdleTimeout)
      • getHttpClientConnectionTimeout

        public long getHttpClientConnectionTimeout()
      • setHttpClientConnectionTimeout

        public void setHttpClientConnectionTimeout​(long httpClientConnectionTimeout)
      • getHttpRequestTimeout

        public long getHttpRequestTimeout()
      • setHttpRequestTimeout

        public void setHttpRequestTimeout​(long httpRequestTimeout)
      • getHttpMaxContentLength

        public Integer getHttpMaxContentLength()
      • setHttpMaxContentLength

        public void setHttpMaxContentLength​(Integer httpMaxContentLength)
      • getHttpRequestBufferSize

        public Integer getHttpRequestBufferSize()
      • setHttpRequestBufferSize

        public void setHttpRequestBufferSize​(Integer httpRequestBufferSize)
      • getHttpProxyHost

        public String getHttpProxyHost()
      • setHttpProxyHost

        public void setHttpProxyHost​(String httpProxyHost)
      • getHttpProxyPort

        public Integer getHttpProxyPort()
      • setHttpProxyPort

        public void setHttpProxyPort​(Integer httpProxyPort)
      • getHttpProxyUsername

        public String getHttpProxyUsername()
      • setHttpProxyUsername

        public void setHttpProxyUsername​(String httpProxyUsername)
      • getHttpProxyPassword

        public String getHttpProxyPassword()
      • setHttpProxyPassword

        public void setHttpProxyPassword​(String httpProxyPassword)
      • isHttpProxySocks4

        public boolean isHttpProxySocks4()
      • setHttpProxySocks4

        public void setHttpProxySocks4​(boolean isHttpProxySocks4)
      • isHttpProxySecure

        public boolean isHttpProxySecure()
      • setHttpProxySecure

        public void setHttpProxySecure​(boolean isHttpProxySecure)
      • getHttpProxyIncludedAddresses

        public Set<String> getHttpProxyIncludedAddresses()
      • setHttpProxyIncludedAddresses

        public void setHttpProxyIncludedAddresses​(Set<String> httpProxyIncludedAddresses)
      • getHttpProxyExcludedAddresses

        public Set<String> getHttpProxyExcludedAddresses()
      • setHttpProxyExcludedAddresses

        public void setHttpProxyExcludedAddresses​(Set<String> httpProxyExcludedAddresses)
      • getHttpProxyAuthUri

        public String getHttpProxyAuthUri()
      • setHttpProxyAuthUri

        public void setHttpProxyAuthUri​(String httpProxyAuthUri)
      • getHttpProxyRealm

        public String getHttpProxyRealm()
      • setHttpProxyRealm

        public void setHttpProxyRealm​(String httpProxyRealm)
      • isHttpProxyUseDigestAuth

        public boolean isHttpProxyUseDigestAuth()
      • setHttpProxyUseDigestAuth

        public void setHttpProxyUseDigestAuth​(boolean httpProxyUseDigestAuth)
      • getWorkerPoolSize

        public int getWorkerPoolSize()
      • setWorkerPoolSize

        public void setWorkerPoolSize​(int workerPoolSize)
      • getWorkerPoolMaxSize

        public int getWorkerPoolMaxSize()
      • setWorkerPoolMaxSize

        public void setWorkerPoolMaxSize​(int workerPoolMaxSize)
      • getPackages

        public String getPackages()
      • setPackages

        public void setPackages​(String packages)
      • getPackagesAsArray

        public String[] getPackagesAsArray()