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.

Reply via email to