activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r868286 - in /websites/production/activemq/content: amqp.html cache/main.pageCache
Date Wed, 03 Jul 2013 14:22:18 GMT
Author: buildbot
Date: Wed Jul  3 14:22:17 2013
New Revision: 868286

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 Wed Jul  3 14:22:17 2013
@@ -50,8 +50,8 @@
       <div>
 
 <!-- Banner -->
-
-	<div id="asf_logo">
+<p>
+	</p><div id="asf_logo">
 	<div id="activemq_logo">
             <a shape="rect" style="float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px;
margin-top:10px; margin-left:100px;" href="http://activemq.apache.org" title="The most popular
and powerful open source Message Broker">ActiveMQ</a> &#8482;
             <a shape="rect" style="float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px;
margin-top:15px; margin-right:10px;" href="http://www.apache.org" title="The Apache Software
Foundation">ASF</a>
@@ -80,11 +80,11 @@
 
 <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" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;transportConnectors&gt;
-   &lt;transportConnector name=<span class="code-quote">"amqp"</span> uri=<span
class="code-quote">"amqp:<span class="code-comment">//0.0.0.0:5672"</span>/&gt;
-</span>&lt;/transportConnectors&gt;
-</pre>
+   &lt;transportConnector name="amqp" uri="amqp://0.0.0.0:5672"/&gt;
+&lt;/transportConnectors&gt;
+]]></script>
 </div></div>
 
 <p>It is enabled in the default ActiveMQ server configuration.</p>
@@ -102,9 +102,9 @@
 <p>For better scalability (and performance) you might want to run the AMQP protocol
over the NIO transport. To do that just use <tt>amqp+nio</tt> transport prefix
instead of <tt>amqp</tt>. For example, add the following transport configuration
in your XML file:</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+nio"</span>
uri=<span class="code-quote">"amqp+nio://localhost:5672"</span>/&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+     &lt;transportConnector name="amqp+nio" uri="amqp+nio://localhost:5672"/&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>
@@ -114,9 +114,9 @@
 <p>It's easy to configure ActiveMQ to use AMQP over a SSL connection. All you have
to do is use the <tt>amqp+ssl</tt> transport prefix instead of <tt>amqp</tt>.
For example, add the following transport configuration in your XML file:</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+ssl"</span>
uri=<span class="code-quote">"amqp+ssl://localhost:5671"</span>/&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+     &lt;transportConnector name="amqp+ssl" uri="amqp+ssl://localhost:5671"/&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>
@@ -139,11 +139,52 @@ body of the AMQP message to JMS body</td
 
 <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>
 
+<h4><a shape="rect" name="AMQP-HowAMQPmessageheadersaremappedtoJMSHeaders%3A"></a>How
AMQP message headers are mapped to JMS Headers:</h4>
+
+<div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> AMQP Message </th><th colspan="1" rowspan="1" class="confluenceTh">
JMS Message </th><th colspan="1" rowspan="1" class="confluenceTh"> Notes </th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> header.durable </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSDeliveryMode </td><td colspan="1" rowspan="1"
class="confluenceTd"> javax.jms.Message.DEFAULT_DELIVERY_MODE if not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> header.priority </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSPriority </td><td colspan="1" rowspan="1"
class="confluenceTd"> javax.jms.Message.DEFAULT_PRIORITY if not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> header.ttl </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSExpiration </td><td colspan="1" rowspan="1"
class="confluenceTd"> javax.jms.Message.DEFAULT_TIME_TO_LIVE if not set </td></tr><
 tr><td colspan="1" rowspan="1" class="confluenceTd"> header.first-acquirer </td><td
colspan="1" rowspan="1" class="confluenceTd"> JMS_AMQP_FirstAcquirer </td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> header.deliveryCount </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSXDeliveryCount </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> delivery-annotations.$
+<div class="error"><span class="error">Unknown macro: {name}</span> <div
class="table-wrap">
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1"
class="confluenceTd"> JMS_AMQP_DA_$</td></tr></tbody></table>
+</div>
+</div>
+<p> </p></td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> message-annotations.x-opt-jms-type </td><td
colspan="1" rowspan="1" class="confluenceTd"> JMSType </td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> message-annotations.x-opt-to-type </td><td colspan="1" rowspan="1"
class="confluenceTd"> Type of the JMSDestination </td><td colspan="1" rowspan="1"
class="confluenceTd"> Comma separated list of 'queue', 'topic', or 'temporary', defaults
to queue if not set. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
message-annotations.x-opt-reply-type </td><td colspan="1" rowspan="1" class="confluenceTd">
Type of the JMSReplyTo </td><td colspan="1" rowspan="1" class="confluenceTd">
Comma separated list of 'queue', 'topic', or 'temporary', defaults to queue if not set. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"
 > message-annotations.$
+<div class="error"><span class="error">Unknown macro: {name}</span> <div
class="table-wrap">
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1"
class="confluenceTd"> JMS_AMQP_MA_$</td></tr></tbody></table>
+</div>
+</div>
+<p> </p></td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> application-properties.JMSXGroupID </td><td
colspan="1" rowspan="1" class="confluenceTd"> JMSXGroupID </td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> application-properties.JMSXGroupSequence </td><td
colspan="1" rowspan="1" class="confluenceTd"> JMSXGroupSequence </td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> application-properties.JMSXUserID </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSXUserID </td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> application-properties.$
+<div class="error"><span class="error">Unknown macro: {name}</span> <div
class="table-wrap">
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1"
class="confluenceTd"> $</td></tr></tbody></table>
+</div>
+</div>
+<p> </p></td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties.message-id </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSMessageID </td><td colspan="1" rowspan="1"
class="confluenceTd"> Auto generated if not set </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties.user-id </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSXUserID </td><td colspan="1" rowspan="1"
class="confluenceTd"> properties.user-id is decoded as a UTF-8 String </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties.to </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMSDestination </td><td colspan="1" rowspan="1"
class="confluenceTd"> The name of the JMSDestination </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties.subject </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMS_AMQP_Subject </td><td colspan="1" rowspan="1"
class="confluenceTd"
 >&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
properties.reply-to </td><td colspan="1" rowspan="1" class="confluenceTd"> JMSReplyTo
</td><td colspan="1" rowspan="1" class="confluenceTd"> The name of the JMSReplyTo
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> properties.correlation-id
</td><td colspan="1" rowspan="1" class="confluenceTd"> JMSCorrelationID </td><td
colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties.content-type </td><td
colspan="1" rowspan="1" class="confluenceTd"> JMS_AMQP_ContentType </td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> properties.content-encoding </td><td colspan="1"
rowspan="1" class="confluenceTd"> JMS_AMQP_ContentEncoding </td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> properties.creat
 ion-time </td><td colspan="1" rowspan="1" class="confluenceTd"> JMSTimestamp
</td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties.group-sequence </td><td
colspan="1" rowspan="1" class="confluenceTd"> JMSXGroupSequence </td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> properties.reply-to-group-id</td><td colspan="1"
rowspan="1" class="confluenceTd"> JMS_AMQP_ReplyToGroupID </td><td colspan="1"
rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> footer.$
+<div class="error"><span class="error">Unknown macro: {name}</span> <div
class="table-wrap">
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1"
class="confluenceTd"> JMS_AMQP_FT_$</td></tr></tbody></table>
+</div>
+</div>
+<p> </p></td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</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"> AMQP Type </th><th colspan="1" rowspan="1" class="confluenceTh">
Java Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Notes </th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bool </td><td colspan="1" rowspan="1"
class="confluenceTd"> Boolean </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> byte </td><td colspan="1" rowspan="1"
class="confluenceTd"> Byte </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> short </td><td colspan="1" rowspan="1"
class="confluenceTd"> Short </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> int </td><td colspan="1" rowspan="1"
class="confluenceTd"> Integer </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td><
 /tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> long </td><td
colspan="1" rowspan="1" class="confluenceTd"> Long </td><td colspan="1" rowspan="1"
class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> ubyte </td><td colspan="1" rowspan="1" class="confluenceTd">
Byte or Short </td><td colspan="1" rowspan="1" class="confluenceTd"> Short is
used if value &gt; Byte.MAX_VALUE </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> ushort </td><td colspan="1" rowspan="1" class="confluenceTd">
Short or Integer </td><td colspan="1" rowspan="1" class="confluenceTd"> Integer
is used if value &gt; Short.MAX_VALUE </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> uint </td><td colspan="1" rowspan="1" class="confluenceTd">
Integer or Long </td><td colspan="1" rowspan="1" class="confluenceTd"> Long is
used if value &gt; Integer.MAX_VALUE </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> ulong </td><td colspan="1" ro
 wspan="1" class="confluenceTd"> Long </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> double </td><td colspan="1" rowspan="1"
class="confluenceTd"> Double </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> float </td><td colspan="1" rowspan="1"
class="confluenceTd"> Float </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> symbol </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> binary </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
Hex encoding of the binary value </td></tr></tbody></table>
+</div>
+
+
+<p>&lt;!-- TODO:</p>
+<div class="table-wrap">
+<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1"
class="confluenceTd"> char </td><td colspan="1" rowspan="1" class="confluenceTd">
String </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
timestamp </td><td colspan="1" rowspan="1" class="confluenceTd"> Long </td></tr></tbody></table>
+</div>
+
+<p>--&gt;</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>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+     &lt;transportConnector name="amqp" uri="amqp://localhost:5672?transport.transformer=jms"/&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="AMQP-AMQP1.0clientlibrary"></a>AMQP 1.0 client
library</h3>
@@ -162,8 +203,8 @@ body of the AMQP message to JMS body</td
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
 
-
-<div>
+<p>
+</p><div>
 <form enctype="application/x-www-form-urlencoded" method="get" action="http://www.google.com/search"
style="font-size: 10px;">
 <input type="hidden" name="ie" value="UTF-8">
 <input type="hidden" name="oe" value="UTF-8">

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



Mime
View raw message