public class SalesforceComponent
extends org.apache.camel.impl.UriEndpointComponent
implements org.apache.camel.spi.EndpointCompleter
SalesforceEndpoint
.Constructor and Description |
---|
SalesforceComponent() |
SalesforceComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
List<String> |
completeEndpointPath(org.apache.camel.ComponentConfiguration configuration,
String completionText) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doStart() |
protected void |
doStop() |
Map<String,Class<?>> |
getClassMap() |
SalesforceEndpointConfig |
getConfig() |
Map<String,Object> |
getHttpClientProperties() |
String |
getHttpProxyAuthUri() |
Set<String> |
getHttpProxyExcludedAddresses() |
String |
getHttpProxyHost() |
Set<String> |
getHttpProxyIncludedAddresses() |
String |
getHttpProxyPassword() |
Integer |
getHttpProxyPort() |
String |
getHttpProxyRealm() |
String |
getHttpProxyUsername() |
SalesforceLoginConfig |
getLoginConfig() |
String[] |
getPackages() |
SalesforceSession |
getSession() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
SubscriptionHelper |
getSubscriptionHelper() |
boolean |
isHttpProxySecure() |
boolean |
isHttpProxySocks4() |
boolean |
isHttpProxyUseDigestAuth() |
void |
setConfig(SalesforceEndpointConfig config)
To use the shared SalesforceLoginConfig as configuration
|
void |
setHttpClientProperties(Map<String,Object> httpClientProperties)
Used for configuring HTTP client properties as key/value pairs
|
void |
setHttpProxyAuthUri(String httpProxyAuthUri)
HTTP proxy authentication URI
|
void |
setHttpProxyExcludedAddresses(Set<String> httpProxyExcludedAddresses)
HTTP proxy excluded addresses
|
void |
setHttpProxyHost(String httpProxyHost)
To configure HTTP proxy host
|
void |
setHttpProxyIncludedAddresses(Set<String> httpProxyIncludedAddresses)
HTTP proxy included addresses
|
void |
setHttpProxyPassword(String httpProxyPassword)
To configure HTTP proxy password
|
void |
setHttpProxyPort(Integer httpProxyPort)
To configure HTTP proxy port
|
void |
setHttpProxyRealm(String httpProxyRealm)
HTTP proxy authentication realm
|
void |
setHttpProxyUseDigestAuth(boolean httpProxyUseDigestAuth)
Use HTTP proxy Digest authentication, false by default
|
void |
setHttpProxyUsername(String httpProxyUsername)
To configure HTTP proxy username
|
void |
setIsHttpProxySecure(boolean isHttpProxySecure)
Enable for TLS connections, true by default
|
void |
setIsHttpProxySocks4(boolean isHttpProxySocks4)
Enable for Socks4 proxy, false by default
|
void |
setLoginConfig(SalesforceLoginConfig loginConfig)
To use the shared SalesforceLoginConfig as login configuration
|
void |
setPackages(String packages)
Package names to scan for DTO classes (multiple packages can be separated by comma).
|
void |
setPackages(String[] packages)
Package names to scan for DTO classes (multiple packages can be separated by comma).
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
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 List<String> completeEndpointPath(org.apache.camel.ComponentConfiguration configuration, String completionText)
completeEndpointPath
in interface org.apache.camel.spi.EndpointCompleter
public SalesforceLoginConfig getLoginConfig()
public void setLoginConfig(SalesforceLoginConfig loginConfig)
public SalesforceEndpointConfig getConfig()
public void setConfig(SalesforceEndpointConfig config)
public void setHttpClientProperties(Map<String,Object> httpClientProperties)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
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()
Apache Camel