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 2018/10/08 09:36:23 UTC
[camel] branch master updated: CAMEL-12867 - Camel-Slack: Must
configure Consumer before using it
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
The following commit(s) were added to refs/heads/master by this push:
new 9dd7fc1 CAMEL-12867 - Camel-Slack: Must configure Consumer before using it
9dd7fc1 is described below
commit 9dd7fc1ddfe2f85136784138e988a68dc08a4170
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 8 11:33:48 2018 +0200
CAMEL-12867 - Camel-Slack: Must configure Consumer before using it
---
.../src/main/java/org/apache/camel/component/slack/SlackEndpoint.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
index 2b63f13..987834c 100644
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
+++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackEndpoint.java
@@ -79,6 +79,7 @@ public class SlackEndpoint extends DefaultEndpoint {
throw new RuntimeCamelException("Missing required endpoint configuration: token must be defined for Slack consumer");
}
SlackConsumer consumer = new SlackConsumer(this, processor);
+ configureConsumer(consumer);
return consumer;
}