New to ActiveMQ here...   

I am trying to get a sense if it is possible to send a message with a binary
attachment through the REST api.

The idea is to connect a legacy application with 'curl'.  

Looking at http://activemq.apache.org/rest.html  I do not see this as an
option.  

Is it possible to send something like the following (notice the -F flag): 
curl -u admin:admin -d "body=message" -F
"file=@localfile;filename=nameinpost"
http://localhost:8161/api/message/TEST?type=queue

Thanks,
Thierry




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Looking-for-example-for-loading-a-msg-with-file-attachment-through-REST-tp4721449.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to