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> </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[<bean id="slack" class="io.mikekennedy.camel.SlackComponent"> +<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[<bean id="slack" class="org.apache.camel.component.slack.SlackComponent"> <property name="webhookUrl" value="https://hooks.slack.com/services/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"/> </bean>]]></script> </div></div><p> </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[<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="lazy"> - <bean id="slack" class="io.mikekennedy.camel.SlackComponent"> + <bean id="slack" class="org.apache.camel.component.slack.SlackComponent"> <property name="webhookUrl" value="https://hooks.slack.com/services/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"/> </bean>