camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] branch master updated: CAMEL-12867 - Camel-Slack: Must configure Consumer before using it
Date Mon, 08 Oct 2018 09:36:23 GMT
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 <ancosen@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;
     }
 


Mime
View raw message