activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r851819 - in /websites/production/activemq/content: amqp.html cache/main.pageCache
Date Sun, 24 Feb 2013 23:21:59 GMT
Author: buildbot
Date: Sun Feb 24 23:21:59 2013
New Revision: 851819

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/amqp.html
    websites/production/activemq/content/cache/main.pageCache

Modified: websites/production/activemq/content/amqp.html
==============================================================================
--- websites/production/activemq/content/amqp.html (original)
+++ websites/production/activemq/content/amqp.html Sun Feb 24 23:21:59 2013
@@ -126,6 +126,26 @@
 
 <p>You should prefix destination address with `queue://` to use Queue based destinations
or `topic://` to use topic based destinations.  If an AMQP address is used without the prefix,
it will be used as a Queue.</p>
 
+<h3><a shape="rect" name="AMQP-MappingtoJMS"></a>Mapping to JMS</h3>
+<p>There are three basic conversion strategies that can be used with AMQP and interoperating
with the JMS API. </p>
+
+<div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh">Strategy</th><th colspan="1" rowspan="1" class="confluenceTh">Description</th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">native</td><td colspan="1" rowspan="1"
class="confluenceTd"><b>Default</b> Wraps the bytes of the AMQP message into
a JMS BytesMessage and<br clear="none">
+also maps the headers of the AMQP message to headers on the JMS message</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">raw</td><td colspan="1" rowspan="1"
class="confluenceTd">Wraps the bytes of the AMQP message into a JMS BytesMessage</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">jms</td><td colspan="1" rowspan="1"
class="confluenceTd">Maps headers of the AMQP message to JMS message headers and maps the<br
clear="none">
+body of the AMQP message to JMS body</td></tr></tbody></table>
+</div>
+
+
+
+<p>Set the <b>transformer</b> transport option on the transportConnector
to the desired mapping strategy. For example, to interoperate with JMS at the payload level,
set the <b>transformer</b> option to <b>jms</b></p>
+
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+     <span class="code-tag">&lt;transportConnector name=<span class="code-quote">"amqp"</span>
uri=<span class="code-quote">"amqp://localhost:5672?transport.transformer=jms"</span>/&gt;</span>
+</pre>
+</div></div>
+
 <h3><a shape="rect" name="AMQP-AMQP1.0clientlibrary"></a>AMQP 1.0 client
library</h3>
 
 <p>You can use <a shape="rect" class="external-link" href="http://qpid.apache.org/proton/">Apache
Qpid Proton</a>.</p>

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



Mime
View raw message