You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Chris Neal <cn...@hayes-lemmerz.com> on 2007/08/01 16:49:40 UTC
Fields for HTTP POST interface to REST?
Is there documentation on on what fields the REST interface will take.. (i.e.
are there any ActiveMQ special fields in the post...)
--
View this message in context: http://www.nabble.com/Fields-for-HTTP-POST-interface-to-REST--tf4200537s2354.html#a11947136
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Fields for HTTP POST interface to REST?
Posted by marlet <vp...@freenet.de>.
Chris Neal wrote:
>
> Is there documentation on on what fields the REST interface will take..
> (i.e. are there any ActiveMQ special fields in the post...)
>
Here is a list of the fields that you can add to the post:
type
body
JMSReplyTo
JMSType
JMSCorrelationID
JMSExpiration
JMSPriority
JMSTimeToLive
JMSDeliveryMode
Here's an example post form
<form action="http://localhost:8161/demo/message/FOO/BAR" method="post">
<textarea rows="20" cols="50" name="body">
This is a test message
</textarea>
<input type="hidden" name="type" value="queue" />
<br>JMSCorrelationID: <input type="text" name="JMSCorrelationID"
value="12345xyz" />
<br>JMSDeliveryMode: <input type="text" name="JMSDeliveryMode"
value="persistent" />
<p>
<input type="submit" value="POST"/>
<input type="reset"/>
</p>
</form>
--
View this message in context: http://www.nabble.com/Fields-for-HTTP-POST-interface-to-REST--tp11947136s2354p14270826.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.