public class SlackComponent
extends org.apache.camel.impl.UriEndpointComponent
Constructor and Description |
---|
SlackComponent() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String channelName,
Map<String,Object> parameters)
Create a slack endpoint
|
String |
getWebhookUrl() |
void |
setWebhookUrl(String webhookUrl)
The incoming webhook URL
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
protected org.apache.camel.Endpoint createEndpoint(String uri, String channelName, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
uri
- the full URI of the endpointchannelName
- the channel or username that the message should be sent toparameters
- the optional parameters passed inException
public String getWebhookUrl()
public void setWebhookUrl(String webhookUrl)
Apache Camel