how to post a message in activemq topic using curl command?
Per the ActiveMQ documentation both of the following worked for me:
curl -XPOST -u admin:admin -d "body=message" http://localhost:8161/api/message/orders.input?type=queuecurl -XPOST -d "body=message with alt syntax" http://admin:admin@localhost:8161/api/message?destination=queue://orders.input
Are you able to log into the web interface and view the queues using the credentials admin/admin
? Try to view http://localhost:8161/admin/queues.jsp to confirm.