You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/13 06:30:12 UTC

[camel] 01/02: Camel-Slack: Added some notes about consumer

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 5282b8de8c63bc4dac0b07ec10cba6fdf33ec2fa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 13 08:28:11 2020 +0200

    Camel-Slack: Added some notes about consumer
---
 components/camel-slack/src/main/docs/slack-component.adoc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/components/camel-slack/src/main/docs/slack-component.adoc b/components/camel-slack/src/main/docs/slack-component.adoc
index 7a97661..fb617b3 100644
--- a/components/camel-slack/src/main/docs/slack-component.adoc
+++ b/components/camel-slack/src/main/docs/slack-component.adoc
@@ -178,6 +178,10 @@ from("slack://general?token=RAW(<YOUR_TOKEN>)&maxResults=1")
 
 In this way you'll get the last message from general channel. The consumer will take track of the timestamp of the last message consumed and in the next poll it will check from that timestamp.
 
-IMPORTANT: Add the `channels:history` user token scope to your app to grant it permission to view messages in the user's public channels.
+You'll need to create a Slack app and use it on your workspace.
+
+Use the 'Bot User OAuth Access Token' as token for the consumer endpoint.
+
+IMPORTANT: Add the `channels:history` and `channels:read` user token scope to your app to grant it permission to view messages in the user's public channels.
 
 include::camel-spring-boot::page$slack-starter.adoc[]