camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r827749 - in /websites/production/camel/content: cache/main.pageCache sjms.html
Date Thu, 02 Aug 2012 22:17:31 GMT
Author: buildbot
Date: Thu Aug  2 22:17:30 2012
New Revision: 827749

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/sjms.html
==============================================================================
--- websites/production/camel/content/sjms.html (original)
+++ websites/production/camel/content/sjms.html Thu Aug  2 22:17:30 2012
@@ -75,24 +75,66 @@
 	<tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2><a shape="rect" name="SJMS-SimpleJMSComponent%28orStandardorSpringless%29Alpha"></a>Simple
JMS Component (or Standard or Springless) - Alpha</h2>
+<div class="wiki-content maincontent"><h2><a shape="rect" name="SJMS-SJMSComponent"></a>SJMS
Component</h2>
 
-<p>The Simple JMS Component is a drop in replacement for the current Spring container
based Camel-JMS component.  It is currently being hosted at <a shape="rect" class="external-link"
href="https://github.com/sully6768/camel-sandbox" rel="nofollow">github</a> while
under development.  It can be retrieved and built using the following steps:</p>
+<p>The SJMS Component is a JMS client for Camel based purely on the JMS API.  It will
be released as part of Camel 2.11 with the following functionality:</p>
 
-<ul><li>git clone <a shape="rect" class="external-link" href="https://github.com/sully6768/camel-sandbox"
rel="nofollow">https://github.com/sully6768/camel-sandbox</a></li><li>cd
camel-sandbox/components/camel-sjms</li><li>mvn clean install</li></ul>
+<ul><li>Queue and Topic Support (Durable &amp; Non-Durable)</li><li>InOnly
&amp; InOut Support</li><li>Plugable Connection Resource Management</li><li>Session,
Consumer, &amp; Producer Pooling &amp; Caching Management</li><li>Asynchronous
Producer and Consumer Processing</li><li>Internal JMS Transaction Support</li></ul>
 
 
-<p>After a successful build, add the following dependency to the <tt>pom.xml</tt>
for this component:</p>
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Why
the S in SJMS</b><br clear="none">S stands for Simple and Standard and Springless.
 Also camel-jms was already taken. <img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/smile.gif"
height="20" width="20" alt="" border="0"></td></tr></table></div>
+
+<p>Maven users will need to add the following dependency to their <tt>pom.xml</tt>
for this component:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-xml">
 <span class="code-tag">&lt;dependency&gt;</span>
     <span class="code-tag">&lt;groupId&gt;</span>org.apache.camel<span
class="code-tag">&lt;/groupId&gt;</span>
     <span class="code-tag">&lt;artifactId&gt;</span>camel-sjms<span
class="code-tag">&lt;/artifactId&gt;</span>
     <span class="code-tag">&lt;version&gt;</span>x.x.x<span class="code-tag">&lt;/version&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- currently supports
trunk only --&gt;</span></span>
+    <span class="code-tag"><span class="code-comment">&lt;!-- use the same
version as your Camel core version --&gt;</span></span>
 <span class="code-tag">&lt;/dependency&gt;</span>
 </pre>
-</div></div></div>
+</div></div>
+
+<h3><a shape="rect" name="SJMS-URIformat"></a>URI format</h3>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+sjms:[queue:|topic:]destinationName[?options]
+</pre>
+</div></div>
+
+<p>Where <tt>destinationName</tt> is a JMS queue or topic name. By default,
the <tt>destinationName</tt> is interpreted as a queue name. For example, to connect
to the queue, <tt>FOO.BAR</tt> use:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+sjms:FOO.BAR
+</pre>
+</div></div>
+
+<p>You can include the optional <tt>queue:</tt> prefix, if you prefer:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+sjms:queue:FOO.BAR
+</pre>
+</div></div>
+
+<p>To connect to a topic, you <em>must</em> include the <tt>topic:</tt>
prefix. For example, to connect to the topic, <tt>Stocks.Prices</tt>, use:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-java">
+sjms:topic:Stocks.Prices
+</pre>
+</div></div>
+
+<p>You append query options to the URI using the following format, <tt>?option=value&amp;option=value&amp;...</tt></p>
+
+<h3><a shape="rect" name="SJMS-Notes"></a>Notes</h3>
+
+<h4><a shape="rect" name="SJMS-Transactions"></a>Transactions <a shape="rect"
name="SJMS-transactionCacheLevels"></a></h4>
+
+<p>There is currently no support the Camel Transaction Processor nor does it support
the Camel Transaction API.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">



Mime
View raw message