activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r924396 - in /websites/production/activemq/content: amqp.html cache/main.pageCache
Date Thu, 02 Oct 2014 12:21:00 GMT
Author: buildbot
Date: Thu Oct  2 12:21:00 2014
New Revision: 924396

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 Thu Oct  2 12:21:00 2014
@@ -82,121 +82,37 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p>ActiveMQ supports the <a shape="rect" class="external-link" href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=amqp" rel="nofollow">AMQP 1.0</a> protocol which is an OASIS standard.</p>
-
-    <div class="aui-message hint shadowed information-macro">
+<div class="wiki-content maincontent"><p>ActiveMQ supports the <a shape="rect" class="external-link" href="https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=amqp" rel="nofollow">AMQP 1.0</a> protocol which is an OASIS standard.</p>    <div class="aui-message hint shadowed information-macro">
                     <p class="title">Availability</p>
                             <span class="aui-icon icon-hint">Icon</span>
                 <div class="message-content">
-                            
-<p>Available from ActiveMQ version <a shape="rect" href="activemq-580-release.html">5.8</a> onwards.</p>
+                            <p>Available from ActiveMQ version <a shape="rect" href="activemq-580-release.html">5.8</a> onwards.</p>
                     </div>
     </div>
-
-
-<h3 id="AMQP-EnablingtheActiveMQBrokerforAMQP">Enabling the ActiveMQ Broker for AMQP</h3>
-
-<p>Its very easy to enable ActiveMQ for AMQP. Just add a connector to the broker using the amqp URL.</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[
-&lt;transportConnectors&gt;
+<h3 id="AMQP-EnablingtheActiveMQBrokerforAMQP">Enabling the ActiveMQ Broker for AMQP</h3><p>Its very easy to enable ActiveMQ for AMQP. Just add a connector to the broker using the amqp URL.</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[&lt;transportConnectors&gt;
    &lt;transportConnector name=&quot;amqp&quot; uri=&quot;amqp://0.0.0.0:5672&quot;/&gt;
 &lt;/transportConnectors&gt;
 ]]></script>
-</div></div>
-
-<p>It is enabled in the default ActiveMQ server configuration.</p>
-
-<p>For more help see <a shape="rect" href="run-broker.html">Run Broker</a>.</p>
-
-<h3 id="AMQP-Security">Security</h3>
-
-<p>The AMQP implementation fully supports an <a shape="rect" href="security.html">ActiveMQ security</a> mechanism. This means that the broker accepts plain SASL authentication. Also, the authorization policies will be applied when you try to access (read/write) certain destinations.</p>
-
-    <div class="aui-message success shadowed information-macro">
+</div></div><p>It is enabled in the default ActiveMQ server configuration.</p><p>For more help see <a shape="rect" href="run-broker.html">Run Broker</a>.</p><h3 id="AMQP-Security">Security</h3><p>The AMQP implementation fully supports an <a shape="rect" href="security.html">ActiveMQ security</a> mechanism. This means that the broker accepts plain SASL authentication. Also, the authorization policies will be applied when you try to access (read/write) certain destinations.</p>    <div class="aui-message success shadowed information-macro">
                     <p class="title">SSL</p>
                             <span class="aui-icon icon-success">Icon</span>
                 <div class="message-content">
-                            
-<p>For additional security, you can use AMQP over SSL as described in the following section.</p>
+                            <p>For additional security, you can use AMQP over SSL as described in the following section.</p>
                     </div>
     </div>
-
-
-<h3 id="AMQP-EnablingAMQPoverNIO">Enabling AMQP over NIO</h3>
-
-<p>For better scalability (and performance) you might want to run the AMQP protocol over the NIO transport. To do that just use <code>amqp+nio</code> transport prefix instead of <code>amqp</code>. For example, add the following transport configuration in your XML file:</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[
-     &lt;transportConnector name=&quot;amqp+nio&quot; uri=&quot;amqp+nio://localhost:5672&quot;/&gt;
+<h3 id="AMQP-EnablingAMQPoverNIO">Enabling AMQP over NIO</h3><p>For better scalability (and performance) you might want to run the AMQP protocol over the NIO transport. To do that just use <code>amqp+nio</code> transport prefix instead of <code>amqp</code>. For example, add the following transport configuration in your XML file:</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[     &lt;transportConnector name=&quot;amqp+nio&quot; uri=&quot;amqp+nio://localhost:5672&quot;/&gt;
 ]]></script>
-</div></div>
-
-<p>This transport uses the <a shape="rect" class="external-link" href="http://activemq.apache.org/configuring-transports.html#ConfiguringTransports-TheNIOTransport">NIO transport</a> underneath and will generally use much less threads than the standard connector. This connector can help if you want to use <a shape="rect" class="external-link" href="http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker-.html">large number of queues</a></p>
-
-<h3 id="AMQP-EnablingAMQPoverSSL">Enabling AMQP over SSL</h3>
-
-<p>It's easy to configure ActiveMQ to use AMQP over a SSL connection. All you have to do is use the <code>amqp+ssl</code> transport prefix instead of <code>amqp</code>. For example, add the following transport configuration in your XML file:</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[
-     &lt;transportConnector name=&quot;amqp+ssl&quot; uri=&quot;amqp+ssl://localhost:5671&quot;/&gt;
+</div></div><p>This transport uses the <a shape="rect" class="external-link" href="http://activemq.apache.org/configuring-transports.html#ConfiguringTransports-TheNIOTransport">NIO transport</a> underneath and will generally use much less threads than the standard connector. This connector can help if you want to use <a shape="rect" class="external-link" href="http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker-.html">large number of queues</a></p><h3 id="AMQP-EnablingAMQPoverSSL">Enabling AMQP over SSL</h3><p>It's easy to configure ActiveMQ to use AMQP over a SSL connection. All you have to do is use the <code>amqp+ssl</code> transport prefix instead of <code>amqp</code>. For example, add the following transport configuration in your XML file:</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[     &lt;transportConnector name=&quot;amqp+ssl&quot; uri=&quot;amqp+ssl://localhost:5671&quot;/&gt;
 ]]></script>
-</div></div>
-
-<ul><li>For more details on using SSL with ActiveMQ, see the following article (<a shape="rect" class="external-link" href="http://activemq.apache.org/how-do-i-use-ssl.html">How do I use SSL</a>).</li></ul>
-
-
-<h3 id="AMQP-WorkingwithDestinationswithAMQP">Working with Destinations with AMQP</h3>
-
-<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 id="AMQP-MappingtoJMS">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"><p>Strategy</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>native</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Default</strong> 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</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>raw</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Wraps the bytes of the AMQP message into a JMS BytesMessage</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>jms</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Maps headers of the AMQP message to JMS message headers and maps the<br clear="none">
-body of the AMQP message to JMS body</p></td></tr></tbody></table></div>
-
-
-<p>Set the <strong>transformer</strong> transport option on the transportConnector to the desired mapping strategy. For example, to interoperate with JMS at the payload level, set the <strong>transformer</strong> option to <strong>jms</strong></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[
-     &lt;transportConnector name=&quot;amqp&quot; uri=&quot;amqp://localhost:5672?transport.transformer=jms&quot;/&gt;
+</div></div><ul><li>For more details on using SSL with ActiveMQ, see the following article (<a shape="rect" class="external-link" href="http://activemq.apache.org/how-do-i-use-ssl.html">How do I use SSL</a>).</li></ul><h3 id="AMQP-WorkingwithDestinationswithAMQP">Working with Destinations with AMQP</h3><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 id="AMQP-Prefetchsizeandcredit">Prefetch size and credit</h3><p>When AMQP receiver connects to the broker, its mapped to the JMS consumer. This JMS consumer has to have appropriate <a shape="rect" href="what-is-the-prefetch-limit-for.html">prefetch size</a> set. That prefetch size will be set from the receiving link credit if set or default value of 100 will be used. You can also tune a default value using <code>prefetch</code> transport attribute, like</p><div class="co
 de panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;transportConnector name=&quot;amqp&quot; uri=&quot;amqp://0.0.0.0:5672?maximumConnections=1000&amp;amp;wireFormat.maxFrameSize=104857600&amp;amp;transport.prefetch=10&quot;/&gt;]]></script>
+</div></div><p class="p1">Note that the same value will be used for broker-side amqp receiver link that handles incoming messages.</p><h3 id="AMQP-MappingtoJMS">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"><p>Strategy</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>native</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong>Default</strong> 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</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>raw</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Wraps the bytes of the AMQP message into a JMS BytesMessa
 ge</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>jms</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Maps headers of the AMQP message to JMS message headers and maps the<br clear="none"> body of the AMQP message to JMS body</p></td></tr></tbody></table></div><p>Set the <strong>transformer</strong> transport option on the transportConnector to the desired mapping strategy. For example, to interoperate with JMS at the payload level, set the <strong>transformer</strong> option to <strong>jms</strong></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[     &lt;transportConnector name=&quot;amqp&quot; uri=&quot;amqp://localhost:5672?transport.transformer=jms&quot;/&gt;
 ]]></script>
-</div></div>
-
-<h4 id="AMQP-HowAMQPmessageheadersaremappedtoJMSHeaders:">How AMQP message headers are mapped to JMS Headers:</h4>
-
-<p>The following headers are mapped regardless of the transformer used:</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> AMQP Message </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> JMS Message </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Notes </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_NATIVE </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Will be set to true if the transformer is 'native' or 'raw', false otherwise. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> message-format </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_MESSAGE_FORMAT </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr></tbody></table></div>
-
-
-<p>The following headers are mapped if the transformer is 'native' or 'jms':</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> AMQP Message </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> JMS Message </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Notes </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> header.durable </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSDeliveryMode </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> javax.jms.Message.DEFAULT_DELIVERY_MODE if not set </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> header.priority </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSPriority </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> javax.jms.Message.DEFAULT_PRIORITY if not set </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> header.ttl </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSExpiration </p></td><td colspa
 n="1" rowspan="1" class="confluenceTd"><p> javax.jms.Message.DEFAULT_TIME_TO_LIVE if not set </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> header.first-acquirer </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_FirstAcquirer </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> header.deliveryCount </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSXDeliveryCount </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> delivery-annotations.<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_DA_<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> message-annotations.x-opt-jms-type </p></
 td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSType </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> message-annotations.x-opt-to-type </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type of the JMSDestination </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Comma separated list of 'queue', 'topic', or 'temporary', defaults to queue if not set. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> message-annotations.x-opt-reply-type </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Type of the JMSReplyTo </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Comma separated list of 'queue', 'topic', or 'temporary', defaults to queue if not set. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> message-annotations.<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td cols
 pan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_MA_<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> application-properties.JMSXGroupID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSXGroupID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> application-properties.JMSXGroupSequence </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSXGroupSequence </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> application-properties.JMSXUserID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSXUserID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class
 ="confluenceTd"><p> application-properties.<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.message-id </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSMessageID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Auto generated if not set </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.user-id </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSXUserID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.user-id is decoded as a UTF-8 String </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.to </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSDest
 ination </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The name of the JMSDestination </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.subject </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_Subject </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.reply-to </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSReplyTo </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The name of the JMSReplyTo </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.correlation-id </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSCorrelationID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.content-type </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQ
 P_ContentType </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.content-encoding </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_ContentEncoding </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.creation-time </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSTimestamp </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.group-sequence </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMSXGroupSequence </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> properties.reply-to-group-id</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_ReplyToGrou
 pID </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> footer.<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> JMS_AMQP_FT_<strong><span style="text-decoration: underline;">name</span></strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr></tbody></table></div>
-
-
-<p>AMQP property value types are converted as follows:</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> AMQP Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Java Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Notes </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> bool </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Boolean </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> byte </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Byte </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> short </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Short </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> int </p></td><td colsp
 an="1" rowspan="1" class="confluenceTd"><p> Integer </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> long </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Long </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> ubyte </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Byte or Short </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Short is used if value &gt; Byte.MAX_VALUE </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> ushort </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Short or Integer </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Integer is used if value &gt; Short.MAX_VALUE </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> uint </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Integer
  or Long </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Long is used if value &gt; Integer.MAX_VALUE </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> ulong </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Long </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> double </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Double </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> float </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Float </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> symbol </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan=
 "1" rowspan="1" class="confluenceTd"><p> binary </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Hex encoding of the binary value </p></td></tr></tbody></table></div>
-
-
-<p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p>
-
-<h4 id="AMQP-HowAMQPmessagesbodiesaremappedtoJMSMessages:">How AMQP messages bodies are mapped to JMS Messages:</h4>
-
-<p>If the transformer is set to 'jms', the they type of JMS message will depend on the body type of the AMQP message.</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Body Type </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> JMS Message Type </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> null </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Message </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Data </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> BytesMessage </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> AmqpSequence </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> StreamMessage </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> AmqpValue holding a null </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Message </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> AmqpValue holding a String </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> TextMe
 ssage </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> AmqpValue holding a binary </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> BytesMessage </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> AmqpValue holding a list </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> StreamMessage </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> AmqpValue </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> ObjectMessage </p></td></tr></tbody></table></div>
-
-
-<h3 id="AMQP-AMQP1.0clientlibrary">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></div>
+</div></div><h4 id="AMQP-HowAMQPmessageheadersaremappedtoJMSHeaders:">How AMQP message headers are mapped to JMS Headers:</h4><p>The following headers are mapped regardless of the transformer used:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>AMQP Message</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>JMS Message</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Notes</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_NATIVE</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Will be set to true if the transformer is 'native' or 'raw', false otherwise.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>message-format</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_MESSAGE_FORMAT</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p
 ></td></tr></tbody></table></div><p>The following headers are mapped if the transformer is 'native' or 'jms':</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>AMQP Message</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>JMS Message</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Notes</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>header.durable</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSDeliveryMode</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>javax.jms.Message.DEFAULT_DELIVERY_MODE if not set</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>header.priority</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSPriority</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>javax.jms.Message.DEFAULT_PRIORITY if not set</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>header.ttl</
 p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSExpiration</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>javax.jms.Message.DEFAULT_TIME_TO_LIVE if not set</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>header.first-acquirer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_FirstAcquirer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>header.deliveryCount</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSXDeliveryCount</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>delivery-annotations.<strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_DA_<strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" r
 owspan="1" class="confluenceTd"><p>message-annotations.x-opt-jms-type</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSType</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>message-annotations.x-opt-to-type</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Type of the JMSDestination</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Comma separated list of 'queue', 'topic', or 'temporary', defaults to queue if not set.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>message-annotations.x-opt-reply-type</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Type of the JMSReplyTo</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Comma separated list of 'queue', 'topic', or 'temporary', defaults to queue if not set.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>message-annotations.<strong><span style="text-de
 coration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_MA_<strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>application-properties.JMSXGroupID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSXGroupID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>application-properties.JMSXGroupSequence</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSXGroupSequence</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>application-properties.JMSXUserID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSXUserID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></
 td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>application-properties.<strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.message-id</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSMessageID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Auto generated if not set</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.user-id</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSXUserID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.user-id is decoded as a UTF-8 String</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.to</p></td><td colspan="1" rowspan="1" class
 ="confluenceTd"><p>JMSDestination</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The name of the JMSDestination</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.subject</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_Subject</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.reply-to</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSReplyTo</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The name of the JMSReplyTo</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.correlation-id</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSCorrelationID</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.content-type</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>J
 MS_AMQP_ContentType</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.content-encoding</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_ContentEncoding</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.creation-time</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSTimestamp</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.group-sequence</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMSXGroupSequence</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>properties.reply-to-group-id</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_ReplyToGroupID</p></
 td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>footer.<strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>JMS_AMQP_FT_<strong><span style="text-decoration: underline;">name</span></strong></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr></tbody></table></div><p>AMQP property value types are converted as follows:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>AMQP Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Java Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Notes</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>bool</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Boolean</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr
 ><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>byte</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Byte</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>short</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Short</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>int</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Integer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>ubyte</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Byte or Short</p></td><td colspan="1" rowspan=
 "1" class="confluenceTd"><p>Short is used if value &gt; Byte.MAX_VALUE</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>ushort</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Short or Integer</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Integer is used if value &gt; Short.MAX_VALUE</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>uint</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Integer or Long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Long is used if value &gt; Integer.MAX_VALUE</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>ulong</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Long</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>double</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Double</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#
 160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>float</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Float</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>symbol</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>binary</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>String</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Hex encoding of the binary value</p></td></tr></tbody></table></div><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><h4 id="AMQP-HowAMQPmessagesbodiesaremappedtoJMSMessages:">How AMQP messages bodies are mapped to JMS Messages:</h4><p>If the transformer is set to 'jms', the they type of JMS message will depend on 
 the body type of the AMQP message.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Body Type</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>JMS Message Type</p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>null</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Message</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>Data</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>BytesMessage</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>AmqpSequence</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>StreamMessage</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>AmqpValue holding a null</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Message</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>AmqpValue holding a String</p></td><td colspan="1" rowspan="1" class="confluen
 ceTd"><p>TextMessage</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>AmqpValue holding a binary</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>BytesMessage</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>AmqpValue holding a list</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>StreamMessage</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>AmqpValue</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>ObjectMessage</p></td></tr></tbody></table></div><h3 id="AMQP-AMQP1.0clientlibrary">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></div>
         </td>
         <td valign="top">
           <div class="navigation">

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



Mime
View raw message