@Metadata(label="verifiers",
enums="parameters,connectivity")
@Component(value="salesforce")
public class SalesforceComponent
extends org.apache.camel.support.DefaultComponent
implements org.apache.camel.SSLContextParametersAware
SalesforceEndpoint.| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_CONNECTION_TIMEOUT |
static String |
HTTP_IDLE_TIMEOUT |
static String |
HTTP_MAX_CONTENT_LENGTH |
static String |
HTTP_PROXY_AUTH_URI |
static String |
HTTP_PROXY_EXCLUDE |
static String |
HTTP_PROXY_HOST |
static String |
HTTP_PROXY_INCLUDE |
static String |
HTTP_PROXY_IS_SECURE |
static String |
HTTP_PROXY_IS_SOCKS4 |
static String |
HTTP_PROXY_PASSWORD |
static String |
HTTP_PROXY_PORT |
static String |
HTTP_PROXY_REALM |
static String |
HTTP_PROXY_USE_DIGEST_AUTH |
static String |
HTTP_PROXY_USERNAME |
static String |
HTTP_REQUEST_BUFFER_SIZE |
| Constructor and Description |
|---|
SalesforceComponent() |
SalesforceComponent(org.apache.camel.CamelContext context) |
afterConfiguration, createEndpoint, createEndpoint, doInit, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrieveGlobalSslContextParametersgetCamelContext, setCamelContext, trySetCamelContextpublic static final String HTTP_PROXY_HOST
public static final String HTTP_PROXY_PORT
public static final String HTTP_PROXY_IS_SOCKS4
public static final String HTTP_PROXY_IS_SECURE
public static final String HTTP_PROXY_INCLUDE
public static final String HTTP_PROXY_EXCLUDE
public static final String HTTP_PROXY_USERNAME
public static final String HTTP_PROXY_PASSWORD
public static final String HTTP_PROXY_USE_DIGEST_AUTH
public static final String HTTP_PROXY_AUTH_URI
public static final String HTTP_PROXY_REALM
public static final String HTTP_CONNECTION_TIMEOUT
public static final String HTTP_IDLE_TIMEOUT
public static final String HTTP_MAX_CONTENT_LENGTH
public static final String HTTP_REQUEST_BUFFER_SIZE
public SalesforceComponent()
public SalesforceComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionpublic SalesforceHttpClient getHttpClient()
protected void doBuild()
throws Exception
doBuild in class org.apache.camel.support.DefaultComponentExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultComponentExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultComponentExceptionpublic SubscriptionHelper getSubscriptionHelper() throws Exception
Exceptionpublic AuthenticationType getAuthenticationType()
public void setAuthenticationType(AuthenticationType authenticationType)
public SalesforceLoginConfig getLoginConfig()
public void setLoginConfig(SalesforceLoginConfig loginConfig)
public void setInstanceUrl(String instanceUrl)
public String getInstanceUrl()
public String getLoginUrl()
public void setLoginUrl(String loginUrl)
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public void setKeystore(org.apache.camel.support.jsse.KeyStoreParameters keystore)
public org.apache.camel.support.jsse.KeyStoreParameters getKeystore()
public String getJwtAudience()
public void setJwtAudience(String jwtAudience)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public boolean isLazyLogin()
public void setLazyLogin(boolean lazyLogin)
public SalesforceEndpointConfig getConfig()
public void setConfig(SalesforceEndpointConfig config)
public void setHttpClientProperties(Map<String,Object> httpClientProperties)
public void setLongPollingTransportProperties(Map<String,Object> longPollingTransportProperties)
public org.apache.camel.support.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters in interface org.apache.camel.SSLContextParametersAwarepublic long getHttpClientIdleTimeout()
public void setHttpClientIdleTimeout(long httpClientIdleTimeout)
public long getHttpClientConnectionTimeout()
public void setHttpClientConnectionTimeout(long httpClientConnectionTimeout)
public Integer getHttpMaxContentLength()
public void setHttpMaxContentLength(Integer httpMaxContentLength)
public Integer getHttpRequestBufferSize()
public void setHttpRequestBufferSize(Integer httpRequestBufferSize)
public String getHttpProxyHost()
public void setHttpProxyHost(String httpProxyHost)
public Integer getHttpProxyPort()
public void setHttpProxyPort(Integer httpProxyPort)
public String getHttpProxyUsername()
public void setHttpProxyUsername(String httpProxyUsername)
public String getHttpProxyPassword()
public void setHttpProxyPassword(String httpProxyPassword)
public boolean isHttpProxySocks4()
public void setHttpProxySocks4(boolean isHttpProxySocks4)
public boolean isHttpProxySecure()
public void setHttpProxySecure(boolean isHttpProxySecure)
public void setHttpProxyIncludedAddresses(Set<String> httpProxyIncludedAddresses)
public void setHttpProxyExcludedAddresses(Set<String> httpProxyExcludedAddresses)
public String getHttpProxyAuthUri()
public void setHttpProxyAuthUri(String httpProxyAuthUri)
public String getHttpProxyRealm()
public void setHttpProxyRealm(String httpProxyRealm)
public boolean isHttpProxyUseDigestAuth()
public void setHttpProxyUseDigestAuth(boolean httpProxyUseDigestAuth)
public int getWorkerPoolSize()
public void setWorkerPoolSize(int workerPoolSize)
public int getWorkerPoolMaxSize()
public void setWorkerPoolMaxSize(int workerPoolMaxSize)
public String getPackages()
public void setPackages(String packages)
public String[] getPackagesAsArray()
public SalesforceSession getSession()
public RestClient createRestClientFor(SalesforceEndpoint endpoint) throws SalesforceException
SalesforceExceptionpublic RawClient createRawClientFor(SalesforceEndpoint endpoint) throws SalesforceException
SalesforceExceptionApache Camel