RE: ActiveMQ: REST API and JMS Headers

2013-12-04 Thread Stephen Vincent
I re-opened AMQ-4072, and added a comment. sasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasas Stephen Vincent

Re: ActiveMQ: REST API and JMS Headers

2013-12-04 Thread Rob Davies
Hi Stephen - best thing to do would have been to reopen the issue when you added the test case - as we would have assumed it was fixed still - can you change the status on the issue? > On 4 Dec 2013, at 22:12, Stephen Vincent wrote: > > When https://issues.apache.org/jira/browse/AMQ-4072 wa

RE: ActiveMQ: REST API and JMS Headers

2013-12-04 Thread Stephen Vincent
When https://issues.apache.org/jira/browse/AMQ-4072 was closed, I added a test case the next day since the lack of one was listed as a reason. However, it still remains closed and is still a problem.

RE: ActiveMQ: REST API and JMS Headers

2013-12-03 Thread alterego
Thanks sv! Figured it out: curl -u admin:admin -d "body:message" http://localhost:8161/api/message?destination=TEST&type=queue&JMSPriority=2 -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-API-and-JMS-Headers-tp4675015p4675070.html Sent from the ActiveMQ -

RE: ActiveMQ: REST API and JMS Headers

2013-12-03 Thread alterego
Hi sv, * Would you know how to submit a request via curl that sets the JMSPriority for example? * Also, the following fields: &clientId=80BDF909-EF88-4F53-91CA-73D0E1637825&JMSPriority=2&JMSTimeToLive=15000&JMSCorrelationID=ABCdef&CorrelationID=ABCdef HTTP/1.1 => are these just HTTP Headers? Tha

Re: ActiveMQ: REST API and JMS Headers

2013-12-03 Thread alterego
To the mods: Apologies, please delete this topic. It is a duplicate of an existing one. The following message caused me to create this duplicate: "This post has NOT been accepted by the mailing list yet." Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ

Re: ActiveMQ: REST API and JMS Headers

2013-12-03 Thread alterego
Re: "All these headers can be set, just add parameters JMSCorrelationID, JMSPriority, JMSReplyTo and JMSExpiration to the request. Regards." Thanks Fernando. How do you do this via REST? I've attempted putting these values in the HTTP Headers. No luck. For example: curl -u admin:admin -d "bod

Re: ActiveMQ: REST API and JMS Headers

2013-12-03 Thread Fernando Ribeiro
All these headers can be set, just add parameters JMSCorrelationID, JMSPriority, JMSReplyTo and JMSExpiration to the request. Regards. On Tue, Dec 3, 2013 at 8:44 PM, alterego wrote: > Hello, > > When putting messages to ActiveMQ via the RESTful API (see for example > http://activemq.apache.org

RE: ActiveMQ: REST API and JMS Headers

2013-12-03 Thread Stephen Vincent
I do it by adding them to the URI in the POST request's start-line. For example, here is some debug output from my app: 131203 12:26:48 DEBUG Executing POST request. 131203 12:26:48 DEBUG >>> POST /api/message?destination=requestq&type=queue&clientId=80BDF909-EF8