You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2016/03/14 07:20:17 UTC

svn commit: r982707 - in /websites/production/camel/content: cache/main.pageCache slack.html

Author: buildbot
Date: Mon Mar 14 06:20:17 2016
New Revision: 982707

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/slack.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/slack.html
==============================================================================
--- websites/production/camel/content/slack.html (original)
+++ websites/production/camel/content/slack.html Mon Mar 14 06:20:17 2016
@@ -98,14 +98,14 @@
 </div></div><p><span>To send a direct message to a slackuser.</span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[slack:@username[?options]]]></script>
 </div></div><h3 id="Slack-Options">Options</h3><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1" rowspan="1" class="confluenceTh">Example</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><span>username</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><span>This is the username that the bot will have when sending messages to a channel or user.</span></p></td><td colspan="1" rowspan="1" class="confluenceTd"><span>username=CamelUser</span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>iconUrl</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>The avatar that the component will use when sending message to a channel or user.</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>iconUrl=<a shape="rect" class="external-link" href="http://some
 host.com/avatar.gif" rel="nofollow">http://somehost.com/avatar.gif</a></span></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><span>iconEmoji</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>Use a Slack emoji as an avatar</span></td><td colspan="1" rowspan="1" class="confluenceTd"><span>iconEmoji=:camel:</span></td></tr></tbody></table></div><p>&#160;</p><h3 id="Slack-SlackComponent.1">SlackComponent</h3><p><span>The SlackComponent with XML must be configured as a Spring or Blueprint bean that contains the incoming webhook url for the integration as a parameter.</span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;slack&quot; class=&quot;io.mikekennedy.camel.SlackComponent&quot;&gt;
+<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;bean id=&quot;slack&quot; class=&quot;org.apache.camel.component.slack.SlackComponent&quot;&gt;
     &lt;property name=&quot;webhookUrl&quot; value=&quot;https://hooks.slack.com/services/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&quot;/&gt;
 &lt;/bean&gt;]]></script>
 </div></div><p>&#160;</p><p>For Java you can configure this using Java code.</p><h3 id="Slack-Example">Example</h3><p>A CamelContext with Blueprint could be as:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;blueprint xmlns=&quot;http://www.osgi.org/xmlns/blueprint/v1.0.0&quot; default-activation=&quot;lazy&quot;&gt;
 
-    &lt;bean id=&quot;slack&quot; class=&quot;io.mikekennedy.camel.SlackComponent&quot;&gt;
+    &lt;bean id=&quot;slack&quot; class=&quot;org.apache.camel.component.slack.SlackComponent&quot;&gt;
         &lt;property name=&quot;webhookUrl&quot; value=&quot;https://hooks.slack.com/services/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&quot;/&gt;
     &lt;/bean&gt;