qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Qpid > Addressing Examples
Date Thu, 10 Nov 2011 22:04:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/21/_/styles/combined.css?spaceKey=qpid&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/qpid/Addressing+Examples">Addressing
Examples</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~gsim@redhat.com">Gordon
Sim</a>
    </h4>
        <br/>
                         <h4>Changes (11)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h5. queue limits and slow subscriber
<br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br>  my-topic; {link:{x-declare:{arguments:{&#39;qpid.max_count&#39;:500}}}}
<br>{code} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h5. no-local <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">You
can request that your subscriber does not receive any messages published on that same connection
using the no-local option: <br> <br>{code} <br></td></tr>
            <tr><td class="diff-unchanged" >  my-topic; {link:{x-declare:{arguments:{no-local:True}}}}
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br></td></tr>
            <tr><td class="diff-unchanged" > <br>h5. reliability and durability
<br> <br></td></tr>
            <tr><td class="diff-changed-lines" >h5. subscription bindings, e.g.
<span class="diff-added-words"style="background-color: #dfd;">subscriptions on</span>
XML and headers exchanges, multiple binding patterns etc <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. Creating shared queues
on-demand <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h5. queue limits <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br>  queue-a; {create: always, node:{x-declare:{arguments:{&#39;qpid.max_count&#39;:1000}}}}
<br>{code} <br> <br>{code} <br>  queue-b; {create: always, node:{x-declare:{arguments:{&#39;qpid.max_count&#39;:1000,
&#39;qpid.max_size&#39;:1000000}}}} <br>{code} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h5. LVQs <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br></td></tr>
            <tr><td class="diff-unchanged" >  my-lvq; {create: always, node:{x-declare:{arguments:{&#39;qpid.last_value_queue_key&#39;:&#39;qpid.subject&#39;}}}}
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br></td></tr>
            <tr><td class="diff-unchanged" > <br>h5. priority queues <br>
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br></td></tr>
            <tr><td class="diff-unchanged" >  my-priority-queue; {create: always,
node:{x-declare:{arguments:{&#39;x-qpid-priorities&#39;:10}}}} <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code}
<br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">(qpid.priorities
can be used as an alias for x-qpid-priorities with qpidd) <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">Note
that {{qpid.priorities}} can be used as an alias for {{x-qpid-priorities}} with the c++ broker
(i.e. qpidd) for the sake of consistency; the latter is supported by the Java broker as well
however. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h5. automatic deletion of queues <br>
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h3><a name="AddressingExamples-Controllingsubscriptionqueuesfortopicreceivers"></a>Controlling
subscription queues for topic receivers</h3>

<h5><a name="AddressingExamples-queuelimitsandslowsubscriber"></a>queue
limits and slow subscriber</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
  my-topic; {link:{x-declare:{arguments:{'qpid.max_count':500}}}}
</pre>
</div></div>

<h5><a name="AddressingExamples-nolocal"></a>no-local</h5>

<p>You can request that your subscriber does not receive any messages published on that
same connection using the no-local option:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
  my-topic; {link:{x-declare:{arguments:{no-local:True}}}}
</pre>
</div></div>

<h5><a name="AddressingExamples-reliabilityanddurability"></a>reliability
and durability</h5>

<h5><a name="AddressingExamples-subscriptionbindings%2Ce.g.subscriptionsonXMLandheadersexchanges%2Cmultiplebindingpatternsetc"></a>subscription
bindings, e.g. subscriptions on XML and headers exchanges, multiple binding patterns etc</h5>

<h3><a name="AddressingExamples-Creatingsharedqueuesondemand"></a>Creating
shared queues on-demand</h3>

<h5><a name="AddressingExamples-queuelimits"></a>queue limits</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
  queue-a; {create: always, node:{x-declare:{arguments:{'qpid.max_count':1000}}}}
</pre>
</div></div>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
  queue-b; {create: always, node:{x-declare:{arguments:{'qpid.max_count':1000, 'qpid.max_size':1000000}}}}
</pre>
</div></div>

<h5><a name="AddressingExamples-LVQs"></a>LVQs</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
  my-lvq; {create: always, node:{x-declare:{arguments:{'qpid.last_value_queue_key':'qpid.subject'}}}}
</pre>
</div></div>

<h5><a name="AddressingExamples-priorityqueues"></a>priority queues</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
  my-priority-queue; {create: always, node:{x-declare:{arguments:{'x-qpid-priorities':10}}}}
</pre>
</div></div>


<p>Note that <tt>qpid.priorities</tt> can be used as an alias for <tt>x-qpid-priorities</tt>
with the c++ broker (i.e. qpidd) for the sake of consistency; the latter is supported by the
Java broker as well however.</p>

<h5><a name="AddressingExamples-automaticdeletionofqueues"></a>automatic
deletion of queues</h5>

<h3><a name="AddressingExamples-Bindings"></a>Bindings</h3>




    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/qpid/Addressing+Examples">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27830917&revisedVersion=3&originalVersion=2">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/qpid/Addressing+Examples?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message