This is an automated email from the ASF dual-hosted git repository. jbertram pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/activemq-website.git
commit 15e3f6f586a372d681acbc64ab9ed133b3513251 Author: Justin Bertram <[email protected]> AuthorDate: Wed Nov 27 13:35:18 2019 -0600 formatting fixes --- content/activemq-message-properties.html | 72 +++++++++++++++++++---- content/subscription-recovery-policy.html | 95 +++++++++++++++---------------- src/activemq-message-properties.md | 2 + src/subscription-recovery-policy.md | 58 +++---------------- 4 files changed, 119 insertions(+), 108 deletions(-) diff --git a/content/activemq-message-properties.html b/content/activemq-message-properties.html index 6790cd8..f329720 100644 --- a/content/activemq-message-properties.html +++ b/content/activemq-message-properties.html @@ -172,18 +172,70 @@ </table> <h2 id="jms-defined">JMS Defined:</h2> -<p>Property Name|Type|Default Value|Description -—|—|—|— -<code class="highlighter-rouge">JMSXDeliveryCount</code>|<code class="highlighter-rouge">int</code>|<code class="highlighter-rouge">0</code>|Number of attempts to send the message. -<code class="highlighter-rouge">JMSXGroupID</code>|<code class="highlighter-rouge">String</code>|<code class="highlighter-rouge">null</code>|Identity of the message group. -<code class="highlighter-rouge">JMSXGroupSeq</code>|<code class="highlighter-rouge">int</code>|<code class="highlighter-rouge">0</code>|Sequence number of the message. -<code class="highlighter-rouge">JMSXProducerTXID</code>|<code class="highlighter-rouge">String</code>|<code class="highlighter-rouge">null</code>|Transaction identifier.</p> + +<table> + <thead> + <tr> + <th>Property Name</th> + <th>Type</th> + <th>Default Value</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td><code class="highlighter-rouge">JMSXDeliveryCount</code></td> + <td><code class="highlighter-rouge">int</code></td> + <td><code class="highlighter-rouge">0</code></td> + <td>Number of attempts to send the message.</td> + </tr> + <tr> + <td><code class="highlighter-rouge">JMSXGroupID</code></td> + <td><code class="highlighter-rouge">String</code></td> + <td><code class="highlighter-rouge">null</code></td> + <td>Identity of the message group.</td> + </tr> + <tr> + <td><code class="highlighter-rouge">JMSXGroupSeq</code></td> + <td><code class="highlighter-rouge">int</code></td> + <td><code class="highlighter-rouge">0</code></td> + <td>Sequence number of the message.</td> + </tr> + <tr> + <td><code class="highlighter-rouge">JMSXProducerTXID</code></td> + <td><code class="highlighter-rouge">String</code></td> + <td><code class="highlighter-rouge">null</code></td> + <td>Transaction identifier.</td> + </tr> + </tbody> +</table> <h2 id="activemq-defined">ActiveMQ Defined:</h2> -<p>Property Name|Type|Default Value|Description -—|—|—|— -<code class="highlighter-rouge">JMSActiveMQBrokerInTime</code>|<code class="highlighter-rouge">long</code>|<code class="highlighter-rouge">0</code>|Time stamp (in milliseconds) for when the message arrived at the broker. -<code class="highlighter-rouge">JMSActiveMQBrokerOutTime</code>|<code class="highlighter-rouge">long</code>|<code class="highlighter-rouge">0</code>|Time stamp (in milliseconds) for when the message left the broker.</p> + +<table> + <thead> + <tr> + <th>Property Name</th> + <th>Type</th> + <th>Default Value</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td><code class="highlighter-rouge">JMSActiveMQBrokerInTime</code></td> + <td><code class="highlighter-rouge">long</code></td> + <td><code class="highlighter-rouge">0</code></td> + <td>Time stamp (in milliseconds) for when the message arrived at the broker.</td> + </tr> + <tr> + <td><code class="highlighter-rouge">JMSActiveMQBrokerOutTime</code></td> + <td><code class="highlighter-rouge">long</code></td> + <td><code class="highlighter-rouge">0</code></td> + <td>Time stamp (in milliseconds) for when the message left the broker.</td> + </tr> + </tbody> +</table> </div> diff --git a/content/subscription-recovery-policy.html b/content/subscription-recovery-policy.html index 8ab2955..3c9e2fc 100644 --- a/content/subscription-recovery-policy.html +++ b/content/subscription-recovery-policy.html @@ -114,55 +114,52 @@ <h3 id="summary-of-available-recovery-policies">Summary of Available Recovery Policies</h3> -<p>Policy Name</p> - -<p>Sample Configuration</p> - -<p>Description</p> - -<p>FixedSizedSubscriptionRecoveryPolicy</p> - -<fixedSizedSubscriptionRecoveryPolicy maximumSize="1024" /> - -<p>Keep a fixed amount of memory in RAM for message history which is evicted in time order.</p> - -<p>FixedCountSubscriptionRecoveryPolicy</p> - -<fixedCountSubscriptionRecoveryPolicy maximumSize="100" /> - -<p>Keep a fixed count of last messages.</p> - -<p>LastImageSubscriptionRecoveryPolicy</p> - -<lastImageSubscriptionRecoveryPolicy /> - -<p>Keep only the last message.</p> - -<p>NoSubscriptionRecoveryPolicy</p> - -<noSubscriptionRecoveryPolicy /> - -<p>Disables message recovery.</p> - -<p>QueryBasedSubscriptionRecoveryPolicy</p> - -<queryBasedSubscriptionRecoveryPolicy query="JMSType = 'car' AND color = 'blue'" /> - -<p>Perform a user specific query mechanism to load any message they may have missed. Details on message selectors are available here:</p> - -<p><a href="http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html">http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html</a></p> - -<p>TimedSubscriptionRecoveryPolicy</p> - -<timedSubscriptionRecoveryPolicy recoverDuration="60000" /> - -<p>Keep a timed buffer of messages around in memory and use that to recover new subscriptions. Recovery time is in milliseconds.</p> - -<p>RetainedMessageSubscriptionRecoveryPolicy</p> - -<retainedMessageSubscriptionRecoveryPolicy /> - -<p>Keep the last message with ActiveMQ.Retain property set to true</p> +<table> + <thead> + <tr> + <th>Policy Name</th> + <th>Sample Configuration</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>FixedSizedSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><fixedSizedSubscriptionRecoveryPolicy maximumSize="1024"/></code></td> + <td>Keep a fixed amount of memory in RAM for message history which is evicted in time order.</td> + </tr> + <tr> + <td>FixedCountSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><fixedCountSubscriptionRecoveryPolicy maximumSize="100"/></code></td> + <td>Keep a fixed count of last messages.</td> + </tr> + <tr> + <td>LastImageSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><lastImageSubscriptionRecoveryPolicy/></code></td> + <td>Keep only the last message.</td> + </tr> + <tr> + <td>NoSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><noSubscriptionRecoveryPolicy/></code></td> + <td>Disables message recovery.</td> + </tr> + <tr> + <td>QueryBasedSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><queryBasedSubscriptionRecoveryPolicy query="JMSType = 'car' AND color = 'blue'"/></code></td> + <td>Perform a user specific query mechanism to load any message they may have missed. Details on message selectors are available <a href="http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html">here</a></td> + </tr> + <tr> + <td>TimedSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><timedSubscriptionRecoveryPolicy recoverDuration="60000" /></code></td> + <td>Keep a timed buffer of messages around in memory and use that to recover new subscriptions. Recovery time is in milliseconds.</td> + </tr> + <tr> + <td>RetainedMessageSubscriptionRecoveryPolicy</td> + <td><code class="highlighter-rouge"><retainedMessageSubscriptionRecoveryPolicy/></code></td> + <td>Keep the last message with ActiveMQ.Retain property set to true</td> + </tr> + </tbody> +</table> </div> diff --git a/src/activemq-message-properties.md b/src/activemq-message-properties.md index f906ad4..1c34d3b 100644 --- a/src/activemq-message-properties.md +++ b/src/activemq-message-properties.md @@ -28,6 +28,7 @@ Property Name|Type|Default Value|Description JMS Defined: ------------ + Property Name|Type|Default Value|Description ---|---|---|--- `JMSXDeliveryCount`|`int`|`0`|Number of attempts to send the message. @@ -37,6 +38,7 @@ Property Name|Type|Default Value|Description ActiveMQ Defined: ----------------- + Property Name|Type|Default Value|Description ---|---|---|--- `JMSActiveMQBrokerInTime`|`long`|`0`|Time stamp (in milliseconds) for when the message arrived at the broker. diff --git a/src/subscription-recovery-policy.md b/src/subscription-recovery-policy.md index 4d1daf5..95d3cdb 100644 --- a/src/subscription-recovery-policy.md +++ b/src/subscription-recovery-policy.md @@ -28,53 +28,13 @@ Note that you can configure the subscription recovery policy, and most other pol ### Summary of Available Recovery Policies -Policy Name - -Sample Configuration - -Description - -FixedSizedSubscriptionRecoveryPolicy - -<fixedSizedSubscriptionRecoveryPolicy maximumSize="1024"/> - -Keep a fixed amount of memory in RAM for message history which is evicted in time order. - -FixedCountSubscriptionRecoveryPolicy - -<fixedCountSubscriptionRecoveryPolicy maximumSize="100"/> - -Keep a fixed count of last messages. - -LastImageSubscriptionRecoveryPolicy - -<lastImageSubscriptionRecoveryPolicy/> - -Keep only the last message. - -NoSubscriptionRecoveryPolicy - -<noSubscriptionRecoveryPolicy/> - -Disables message recovery. - -QueryBasedSubscriptionRecoveryPolicy - -<queryBasedSubscriptionRecoveryPolicy query="JMSType = 'car' AND color = 'blue'"/> - -Perform a user specific query mechanism to load any message they may have missed. Details on message selectors are available here: - -[http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html](http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html) - -TimedSubscriptionRecoveryPolicy - -<timedSubscriptionRecoveryPolicy recoverDuration="60000" /> - -Keep a timed buffer of messages around in memory and use that to recover new subscriptions. Recovery time is in milliseconds. - -RetainedMessageSubscriptionRecoveryPolicy - -<retainedMessageSubscriptionRecoveryPolicy/> - -Keep the last message with ActiveMQ.Retain property set to true +Policy Name|Sample Configuration|Description +---|---|--- +FixedSizedSubscriptionRecoveryPolicy|`<fixedSizedSubscriptionRecoveryPolicy maximumSize="1024"/>`|Keep a fixed amount of memory in RAM for message history which is evicted in time order. +FixedCountSubscriptionRecoveryPolicy|`<fixedCountSubscriptionRecoveryPolicy maximumSize="100"/>`|Keep a fixed count of last messages. +LastImageSubscriptionRecoveryPolicy|`<lastImageSubscriptionRecoveryPolicy/>`|Keep only the last message. +NoSubscriptionRecoveryPolicy|`<noSubscriptionRecoveryPolicy/>`|Disables message recovery. +QueryBasedSubscriptionRecoveryPolicy|`<queryBasedSubscriptionRecoveryPolicy query="JMSType = 'car' AND color = 'blue'"/>`|Perform a user specific query mechanism to load any message they may have missed. Details on message selectors are available [here](http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html) +TimedSubscriptionRecoveryPolicy|`<timedSubscriptionRecoveryPolicy recoverDuration="60000" />`|Keep a timed buffer of messages around in memory and use that to recover new subscriptions. Recovery time is in milliseconds. +RetainedMessageSubscriptionRecoveryPolicy|`<retainedMessageSubscriptionRecoveryPolicy/>`|Keep the last message with ActiveMQ.Retain property set to true
