camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r983669 [2/2] - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache irc.html
Date Fri, 25 Mar 2016 08:19:40 GMT
Modified: websites/production/camel/content/irc.html
==============================================================================
--- websites/production/camel/content/irc.html (original)
+++ websites/production/camel/content/irc.html Fri Mar 25 08:19:40 2016
@@ -85,49 +85,20 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="IRC-IRCComponent">IRC Component</h2>
-
-<p>The <strong>irc</strong> component implements an <a shape="rect"
class="external-link" href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" rel="nofollow">IRC</a>
(Internet Relay Chat) transport.</p>
-
-<p>Maven users will need to add the following dependency to their <code>pom.xml</code>
for this component:</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;dependency&gt;
+<div class="wiki-content maincontent"><h2 id="IRC-IRCComponent">IRC Component</h2><p>The
<strong>irc</strong> component implements an <a shape="rect" class="external-link"
href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" rel="nofollow">IRC</a> (Internet
Relay Chat) transport.</p><p>Maven users will need to add the following dependency
to their <code>pom.xml</code> for this component:</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;dependency&gt;
     &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
     &lt;artifactId&gt;camel-irc&lt;/artifactId&gt;
     &lt;version&gt;x.x.x&lt;/version&gt;
     &lt;!-- use the same version as your Camel core version --&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div>
-
-<h3 id="IRC-URIformat">URI format</h3>
-
-<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[
-irc:nick@host[:port]/#room[?options]
+</div></div><h3 id="IRC-URIformat">URI format</h3><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[irc:nick@host[:port]/#room[?options]
 irc:nick@host[:port]?channels=#channel1,#channel2,#channel3[?options]
 ]]></script>
-</div></div>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&amp;option=value&amp;...</code></p>
-
-<h3 id="IRC-Options">Options</h3>
-<div class="confluenceTableSmall">
-<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"><p> Example </p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>channels</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Comma
separated list of IRC channels to join. </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>channels=#channel1,#channel2</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>nickname</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The
nickname used in chat. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>irc:MyNick@irc.ser
 ver.org#channel</code> or <code>irc:irc.server.org#channel?nickname=MyUser</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>username</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
The IRC server user name. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>irc:MyUser@irc.server.org#channel</code> or <code>irc:irc.server.org#channel?username=MyUser</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Same
as nickname. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>password</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
The IRC server password. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>password=somepass</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <em>None</em> </p></td></tr><tr><td
colspan="1" rowspan="1" class="conf
 luenceTd"><p> <code>realname</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> The IRC user's actual name. </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>realname=MyName</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <em>None</em>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>colors</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
Whether or not the server supports color codes. </p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>true, false</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>onReply</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Whether
or not to handle general responses to commands or informational messages. </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true, false</code>
</p></td><td 
 colspan="1" rowspan="1" class="confluenceTd"><p> <code>false</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>onNick</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
Handle nickname change events. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true, false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true</code> </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>onQuit</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Handle user quit events. </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true, false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>onJoin</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
Handle user join events. </p></td><td colspan="1" rowspan="1" class="confluenceT
 d"><p> <code>true, false</code> </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>onKick</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Handle
kick events. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true, false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true</code> </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>onMode</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Handle mode change events. </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true, false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>onPart</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
Handle user part events. </p></td><td colspan
 ="1" rowspan="1" class="confluenceTd"><p> <code>true, false</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code> </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>onTopic</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Handle
topic change events. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true, false</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>true</code> </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>onPrivmsg</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Handle message events. </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>true, false</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>trustManager</code> </p></td><td colspan="1" rowspan="1"
class="confluenceTd">
 <p> The trust manager used to verify the SSL server's certificate. </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>trustManager=#referenceToTrustManagerBean</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The
default trust manager, which accepts <em>all</em> certificates, will be used.
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>keys</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
<strong>Camel 2.2:</strong> Comma separated list of IRC channel keys. Important
to be listed in same order as channels. When joining multiple channels with only some needing
keys just insert an empty value for that channel. </p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>irc:MyNick@irc.server.org/#channel?keys=chankey</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code>
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
sslContextParameters
  </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Camel
2.9:</strong> Reference to a <code>org.apache.camel.util.jsse.SSLContextParameters</code>
in the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>.&#160;
This reference overrides any configured SSLContextParameters at the component level.&#160;
See <a shape="rect" class="external-link" href="http://camel.apache.org/http4.html#HTTP4-UsingtheJSSEConfigurationUtility">Using
the JSSE Configuration Utility</a>.&#160; Note that this setting overrides the trustManager
option. </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
#mySslContextParameters <br clear="none" class="atl-forced-newline"> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>null</code> </p></td></tr></tbody></table></div>
-</div>
-
-<h3 id="IRC-SSLSupport">SSL Support</h3>
-
-<h4 id="IRC-UsingtheJSSEConfigurationUtility">Using the JSSE Configuration Utility</h4>
-
-<p>As of Camel 2.9, the IRC component supports SSL/TLS configuration through the <a
shape="rect" href="camel-configuration-utilities.html">Camel JSSE Configuration Utility</a>.&#160;
This utility greatly decreases the amount of component specific code you need to write and
is configurable at the endpoint and component levels.&#160; The following examples demonstrate
how to use the utility with the IRC component.</p>
-
-<h5 id="IRC-Programmaticconfigurationoftheendpoint">Programmatic configuration of the
endpoint</h5>
-
-<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[
-KeyStoreParameters ksp = new KeyStoreParameters();
+</div></div><p>You can append query options to the URI in the following
format, <code>?option=value&amp;option=value&amp;...</code></p><h3
id="IRC-Options">Options</h3><div class="confluenceTableSmall"><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"><p>Example</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>channels</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Comma separated list of IRC channels
to join.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>channels=#channel1,#channel2</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>nickna
 me</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
nickname used in chat.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>irc:MyNick@irc.server.org#channel</code>
or <code>irc:irc.server.org#channel?nickname=MyUser</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>username</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The IRC server user name.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>irc:MyUser@irc.server.org#channel</code>
or <code>irc:irc.server.org#channel?username=MyUser</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Same as nickname.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>password</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The IRC server password.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 ><code>password=somepass</code></p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><em>None</em></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>realname</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The IRC user's actual name.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>realname=MyName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>None</em></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><code>nickPassword</code></td><td
colspan="1" rowspan="1" class="confluenceTd"><strong>Camel 2.18:</strong> Your
IRC server nickname password.</td><td colspan="1" rowspan="1" class="confluenceTd">nickPassword=mysecret</td><td
colspan="1" rowspan="1" class="confluenceTd"><em>None</em></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>colors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Whether or not the server supports
color codes.</p></
 td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onReply</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Whether or not to handle general
responses to commands or informational messages.</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>false</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onNick</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Handle nickname change events.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onQuit</code></p></td><td
  colspan="1" rowspan="1" class="confluenceTd"><p>Handle user quit events.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onJoin</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Handle user join events.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onKick</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Handle kick events.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onMode</code></p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Handle mode
change events.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true,
false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onPart</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Handle user part events.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>onTopic</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Handle topic change events.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true, false</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><c
 ode>onPrivmsg</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Handle
message events.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true,
false</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>true</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>trustManager</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The trust manager used to verify
the SSL server's certificate.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>trustManager=#referenceToTrustManagerBean</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The default trust manager, which
accepts <em>all</em> certificates, will be used.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>keys</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.2:</strong>
Comma separated list of IRC channel keys. Important to be listed in same order a
 s channels. When joining multiple channels with only some needing keys just insert an empty
value for that channel.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>irc:MyNick@irc.server.org/#channel?keys=chankey</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>sslContextParameters</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><strong>Camel 2.9:</strong>
Reference to a <code>org.apache.camel.util.jsse.SSLContextParameters</code> in
the <a shape="rect" class="external-link" href="http://camel.apache.org/registry.html">Registry</a>.&#160;
This reference overrides any configured SSLContextParameters at the component level.&#160;
See <a shape="rect" class="external-link" href="http://camel.apache.org/http4.html#HTTP4-UsingtheJSSEConfigurationUtility">Using
the JSSE Configuration Utility</a>.&#160; Note that this setting overrides the trustManager
option
 .</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>#mySslContextParameters</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>null</code></p></td></tr></tbody></table></div></div><h3
id="IRC-SSLSupport">SSL Support</h3><h4 id="IRC-UsingtheJSSEConfigurationUtility">Using
the JSSE Configuration Utility</h4><p>As of Camel 2.9, the IRC component supports
SSL/TLS configuration through the <a shape="rect" href="camel-configuration-utilities.html">Camel
JSSE Configuration Utility</a>.&#160; This utility greatly decreases the amount
of component specific code you need to write and is configurable at the endpoint and component
levels.&#160; The following examples demonstrate how to use the utility with the IRC component.</p><h5
id="IRC-Programmaticconfigurationoftheendpoint">Programmatic configuration of the endpoint</h5><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[KeyStoreParameters
ksp = new KeyStoreParameters();
 ksp.setResource(&quot;/users/home/server/truststore.jks&quot;);
 ksp.setPassword(&quot;keystorePassword&quot;);
 
@@ -146,13 +117,8 @@ from(...)
     .to(&quot;ircs://camel-prd-user@server:6669/#camel-test?nickname=camel-prd&amp;password=password&amp;sslContextParameters=#sslContextParameters&quot;);
 
 ]]></script>
-</div></div>
-
-<h5 id="IRC-SpringDSLbasedconfigurationofendpoint">Spring DSL based configuration of
endpoint</h5>
-
-<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[
-...
+</div></div><h5 id="IRC-SpringDSLbasedconfigurationofendpoint">Spring DSL
based configuration of endpoint</h5><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;camel:sslContextParameters
       id=&quot;sslContextParameters&quot;&gt;
     &lt;camel:trustManagers&gt;
@@ -164,40 +130,16 @@ from(...)
 ...
   &lt;to uri=&quot;ircs://camel-prd-user@server:6669/#camel-test?nickname=camel-prd&amp;password=password&amp;sslContextParameters=#sslContextParameters&quot;/&gt;...
 ]]></script>
-</div></div>
-
-<h4 id="IRC-Usingthelegacybasicconfigurationoptions">Using the legacy basic configuration
options</h4>
-
-<p>You can also connect to an SSL enabled IRC server, as follows:</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[
-ircs:host[:port]/#room?username=user&amp;password=pass
+</div></div><h4 id="IRC-Usingthelegacybasicconfigurationoptions">Using
the legacy basic configuration options</h4><p>You can also connect to an SSL enabled
IRC server, as follows:</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[ircs:host[:port]/#room?username=user&amp;password=pass
 ]]></script>
-</div></div>
-
-<p>By default, the IRC transport uses <a shape="rect" class="external-link" href="http://moepii.sourceforge.net/irclib/javadoc/org/schwering/irc/lib/ssl/SSLDefaultTrustManager.html"
rel="nofollow">SSLDefaultTrustManager</a>. If you need to provide your own custom
trust manager, use the <code>trustManager</code> parameter as follows:</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[
-ircs:host[:port]/#room?username=user&amp;password=pass&amp;trustManager=#referenceToMyTrustManagerBean
+</div></div><p>By default, the IRC transport uses <a shape="rect" class="external-link"
href="http://moepii.sourceforge.net/irclib/javadoc/org/schwering/irc/lib/ssl/SSLDefaultTrustManager.html"
rel="nofollow">SSLDefaultTrustManager</a>. If you need to provide your own custom
trust manager, use the <code>trustManager</code> parameter as follows:</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[ircs:host[:port]/#room?username=user&amp;password=pass&amp;trustManager=#referenceToMyTrustManagerBean
 ]]></script>
-</div></div>
-
-<h3 id="IRC-Usingkeys">Using keys</h3>
-
-<p><strong>Available as of Camel 2.2</strong></p>
-
-<p>Some irc rooms requires you to provide a key to be able to join that channel. The
key is just a secret word.</p>
-
-<p>For example we join 3 channels where as only channel 1 and 3 uses a key.</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[
-irc:nick@irc.server.org?channels=#chan1,#chan2,#chan3&amp;keys=chan1Key,,chan3key
+</div></div><h3 id="IRC-Usingkeys">Using keys</h3><p><strong>Available
as of Camel 2.2</strong></p><p>Some irc rooms requires you to provide a
key to be able to join that channel. The key is just a secret word.</p><p>For
example we join 3 channels where as only channel 1 and 3 uses a key.</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[irc:nick@irc.server.org?channels=#chan1,#chan2,#chan3&amp;keys=chan1Key,,chan3key
 ]]></script>
-</div></div>
-
-<h3 id="IRC-SeeAlso">See Also</h3>
+</div></div><p></p><h3 id="IRC-SeeAlso">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a
shape="rect" href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting
Started</a></li></ul></div>
         </td>
         <td valign="top">



Mime
View raw message