How to send message headers (properties) for a message in active mq web console localhost:8161?

Raghunandan J picture Raghunandan J · Aug 9, 2017 · Viewed 7.2k times · Source

I searched a lot in web, couldn't find any answers.

enter image description here

Answer

Nir picture Nir · Aug 10, 2017

Activemq console can not be used in this case but you can use the curl command to send messages with header which exposes the api's of web console. Please refer below link:

ActiveMQ Rest

For example, using below command , uses the proerties "key=2dffvdfbfd"

curl -XPOST -d "body=Test message" -d "key=2dffvdfbfd" http://admin:admin@<brokerIp>:8161