Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/billburke/jboss/resteasy/resteasy-git/svn-server-sync/resteasy/trunk/rest-star/messaging@1286 2b1ed4c4-5db3-0410-90e4-80a7a6204c25
  • Loading branch information
patriot1burke committed Jan 3, 2011
1 parent 5b857ea commit ed32bf4
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions session-interface/docbook/reference/en/master.xml
Expand Up @@ -605,7 +605,7 @@ msg-create-with-id: http://example.com/queues/jms.queue.bar/create/{id}
<literal>msg-create</literal> header.</para>

<para><programlisting>POST /queues/jms.queue.bar/create
Host: example.xom
Host: example.com
Content-Type: application/xml

&lt;order&gt;
Expand Down Expand Up @@ -687,7 +687,7 @@ msg-create-with-id: http://example.com/queues/jms.queue.bar/create/{id}
<literal>msg-create</literal> header.</para>

<para><programlisting>POST /queues/jms.queue.bar/create
Host: example.xom
Host: example.com
Content-Type: application/xml

&lt;order&gt;
Expand Down Expand Up @@ -799,7 +799,7 @@ msg-create-next: http://example.com/queues/jms.queue.bar/create/003</programlist
that.</para>

<programlisting>POST /queues/jms.queue.bar/create?durable=true
Host: example.xom
Host: example.com
Content-Type: application/xml

&lt;order&gt;
Expand All @@ -809,6 +809,20 @@ Content-Type: application/xml
&lt;/order&gt;
</programlisting>
</sect1>
<sect1>
<title>Expiration and Priority</title>
<para>You can set he expiration and the priority of the message in the queue or topic by setting an additional query parameter. The <literal>expiration</literal> query parameter is an integer expressing the time in milliseconds until the message should be expired. The <literal>priority</literal> is another query parameter with an integer value between 0 and 9 expressing the priority of the message. i.e.:</para>
<programlisting>POST /queues/jms.queue.bar/create?expiration=30000&amp;priority=3
Host: example.com
Content-Type: application/xml

&lt;order&gt;
&lt;name&gt;Bill&lt;/name&gt;
&lt;item&gt;iPhone4&lt;/item&gt;
&lt;cost&gt;$199.99&lt;/cost&gt;
&lt;/order&gt;
</programlisting>
</sect1>
</chapter>

<chapter>
Expand Down

0 comments on commit ed32bf4

Please sign in to comment.