Author: buildbot Date: Thu May 28 07:20:05 2015 New Revision: 952960 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/stomp.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/stomp.html ============================================================================== --- websites/production/camel/content/stomp.html (original) +++ websites/production/camel/content/stomp.html Thu May 28 07:20:05 2015 @@ -85,59 +85,24 @@ <tbody> <tr> <td valign="top" width="100%"> -<div class="wiki-content maincontent"><h2 id="Stomp-StompComponent">Stomp Component</h2> -<p><strong>Available as of Camel 2.12</strong></p> - -<p>The <strong>stomp:</strong> component is used for communicating with <a shape="rect" class="external-link" href="http://stomp.github.io/" rel="nofollow">Stomp</a> compliant message brokers, like <a shape="rect" class="external-link" href="http://activemq.apache.org">Apache ActiveMQ</a> or <a shape="rect" class="external-link" href="http://activemq.apache.org/apollo/">ActiveMQ Apollo</a> </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="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ -<dependency> +<div class="wiki-content maincontent"><h2 id="Stomp-StompComponent">Stomp Component</h2><p><strong>Available as of Camel 2.12</strong></p><p>The <strong>stomp:</strong> component is used for communicating with <a shape="rect" class="external-link" href="http://stomp.github.io/" rel="nofollow">Stomp</a> compliant message brokers, like <a shape="rect" class="external-link" href="http://activemq.apache.org">Apache ActiveMQ</a> or <a shape="rect" class="external-link" href="http://activemq.apache.org/apollo/">ActiveMQ Apollo</a></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="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-stomp</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> ]]></script> -</div></div> - -<h3 id="Stomp-URIformat">URI format</h3> - -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -stomp:queue:destination[?options] +</div></div><h3 id="Stomp-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[stomp:queue:destination[?options] ]]></script> -</div></div> - -<p>Where <strong>destination</strong> is the name of the queue.</p> - -<h3 id="Stomp-Options">Options</h3> -<div class="confluenceTableSmall"> -<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>brokerURL</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>tcp://localhost:61613</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The URI of the Stomp broker to connect to </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>login</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The username </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>passcode</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" c lass="confluenceTd"><p> The password </p></td></tr></tbody></table></div> -</div> - -<p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p> - - -<h3 id="Stomp-Samples">Samples</h3> - -<p>Sending messages:</p> -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -from("direct:foo").to("stomp:queue:test"); +</div></div><p>Where <strong>destination</strong> is the name of the queue.</p><h3 id="Stomp-Options">Options</h3><div class="confluenceTableSmall"><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Property</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>brokerURL</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><code>tcp://localhost:61613</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The URI of the Stomp broker to connect to</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>login</code></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The username</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd" ><p><code>passcode</code></p></td><td colspan="1" rowspan="1" >class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" >class="confluenceTd"><p>The password</p></td></tr><tr><td colspan="1" >rowspan="1" class="confluenceTd">host</td><td colspan="1" rowspan="1" >class="confluenceTd"> </td><td colspan="1" rowspan="1" >class="confluenceTd"><strong>Camel 2.16:</strong> The virtual >host</td></tr></tbody></table></div></div><p>You can append query options to >the URI in the following format, ><code>?option=value&option=value&...</code></p><h3 >id="Stomp-Samples">Samples</h3><p>Sending messages:</p><div class="code panel >pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from("direct:foo").to("stomp:queue:test"); ]]></script> -</div></div> - -<p>Consuming messages:</p> -<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ -from("stomp:queue:test").transform(body().convertToString()).to("mock:result") +</div></div><p>Consuming messages:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from("stomp:queue:test").transform(body().convertToString()).to("mock:result") ]]></script> -</div></div> - - -<h2 id="Stomp-Endpoints">Endpoints</h2> +</div></div><p></p><h2 id="Stomp-Endpoints">Endpoints</h2> <p></p><p>Camel supports the <a shape="rect" href="message-endpoint.html">Message Endpoint</a> pattern using the <a shape="rect" class="external-link" href="http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Endpoint.html">Endpoint</a> interface. Endpoints are usually created by a <a shape="rect" href="component.html">Component</a> and Endpoints are usually referred to in the <a shape="rect" href="dsl.html">DSL</a> via their <a shape="rect" href="uris.html">URIs</a>. </p>