Slack

Slack

Scheme: slack
Syntax: slack:channel
Description: The slack component allows you to send messages to Slack.
Deprecated:false
ProducerOnly:true
Async:false
Maven: org.apache.camel/camel-slack/2.18.1.redhat-000012

The slack component allows you to send messages to Slack.

Name Kind Group Required Default Type Enum Description
channel path producer true java.lang.String The channel name (syntax #name) or slackuser (syntax @userName) to send a message directly to an user.
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
iconEmoji parameter producer java.lang.String Use a Slack emoji as an avatar
iconUrl parameter producer java.lang.String The avatar that the component will use when sending message to a channel or user.
username parameter producer java.lang.String This is the username that the bot will have when sending messages to a channel or user.
webhookUrl parameter producer java.lang.String The incoming webhook URL
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).