@Metadata(label="verifiers",
enums="parameters,connectivity")
public class SalesforceComponent
extends org.apache.camel.impl.DefaultComponent
implements org.apache.camel.VerifiableComponent, org.apache.camel.SSLContextParametersAware
SalesforceEndpoint
.Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
SalesforceComponent() |
SalesforceComponent(org.apache.camel.CamelContext context) |
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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 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.impl.DefaultComponent
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultComponent
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultComponent
Exception
public SubscriptionHelper getSubscriptionHelper() throws Exception
Exception
public AuthenticationType getAuthenticationType()
public void setAuthenticationType(AuthenticationType authenticationType)
public SalesforceLoginConfig getLoginConfig()
public void setLoginConfig(SalesforceLoginConfig loginConfig)
public void setInstanceUrl(String instanceUrl)
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.util.jsse.KeyStoreParameters keystore)
public org.apache.camel.util.jsse.KeyStoreParameters getKeystore()
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.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
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 setIsHttpProxySocks4(boolean isHttpProxySocks4)
public boolean isHttpProxySecure()
public void setIsHttpProxySecure(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 String[] getPackages()
public void setPackages(String[] packages)
public void setPackages(String packages)
public SalesforceSession getSession()
public org.apache.camel.ComponentVerifier getVerifier()
getVerifier
in interface org.apache.camel.VerifiableComponent
public RestClient createRestClientFor(SalesforceEndpoint endpoint) throws SalesforceException
SalesforceException
Apache Camel